JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType > Class Template Reference

Holds a cache of recently-used glyph objects of some type. More...

#include "juce_RenderingHelpers.h"

Inheritance diagram for juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >:
juce::DeletedAtShutdown

Public Member Functions

void reset ()
 
void drawGlyph (RenderTargetType &target, const Font &font, const int glyphNumber, Point< float > pos)
 
ReferenceCountedObjectPtr< CachedGlyphType > findOrCreateGlyph (const Font &font, int glyphNumber)
 

Static Public Member Functions

static GlyphCachegetInstance ()
 

Detailed Description

template<class CachedGlyphType, class RenderTargetType>
class juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >

Holds a cache of recently-used glyph objects of some type.

@tags{Graphics}

Definition at line 142 of file juce_RenderingHelpers.h.

Constructor & Destructor Documentation

◆ GlyphCache()

template<class CachedGlyphType , class RenderTargetType >
juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >::GlyphCache ( )

Definition at line 145 of file juce_RenderingHelpers.h.

◆ ~GlyphCache()

template<class CachedGlyphType , class RenderTargetType >
juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >::~GlyphCache ( )
override

Definition at line 150 of file juce_RenderingHelpers.h.

Member Function Documentation

◆ drawGlyph()

template<class CachedGlyphType , class RenderTargetType >
void juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >::drawGlyph ( RenderTargetType &  target,
const Font font,
const int  glyphNumber,
Point< float pos 
)

Definition at line 175 of file juce_RenderingHelpers.h.

◆ findOrCreateGlyph()

template<class CachedGlyphType , class RenderTargetType >
ReferenceCountedObjectPtr< CachedGlyphType > juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >::findOrCreateGlyph ( const Font font,
int  glyphNumber 
)

Definition at line 184 of file juce_RenderingHelpers.h.

◆ getInstance()

template<class CachedGlyphType , class RenderTargetType >
static GlyphCache & juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >::getInstance ( )
static

Definition at line 155 of file juce_RenderingHelpers.h.

◆ reset()

template<class CachedGlyphType , class RenderTargetType >
void juce::RenderingHelpers::GlyphCache< CachedGlyphType, RenderTargetType >::reset ( )

Definition at line 166 of file juce_RenderingHelpers.h.


The documentation for this class was generated from the following file: