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< CachedGlyphTypefindOrCreateGlyph (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()

Definition at line 145 of file juce_RenderingHelpers.h.

◆ ~GlyphCache()

Definition at line 150 of file juce_RenderingHelpers.h.

Member Function Documentation

◆ drawGlyph()

Definition at line 175 of file juce_RenderingHelpers.h.

◆ findOrCreateGlyph()

Definition at line 184 of file juce_RenderingHelpers.h.

◆ getInstance()

Definition at line 155 of file juce_RenderingHelpers.h.

◆ reset()

Definition at line 166 of file juce_RenderingHelpers.h.


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