JUCE
Public Member Functions | Public Attributes | List of all members
juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType > Class Template Reference

Caches a glyph as an edge-table. More...

Inheritance diagram for juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >:

Public Member Functions

 CachedGlyphEdgeTable ()
 
void draw (RendererType &state, Point< float > pos) const
 
void generate (const Font &newFont, int glyphNumber)
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
void decReferenceCount () noexcept
 Decreases the object's reference count. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
int getReferenceCount () const noexcept
 Returns the object's current reference count. More...
 

Public Attributes

Font font
 
ScopedPointer< EdgeTableedgeTable
 
int glyph = 0
 
int lastAccessCount = 0
 
bool snapToIntegerCoordinate = false
 

Additional Inherited Members

- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()
 Creates the reference-counted object (with an initial ref count of zero). More...
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
virtual ~ReferenceCountedObject ()
 Destructor. More...
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object. More...
 

Detailed Description

template<class RendererType>
class juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >

Caches a glyph as an edge-table.

Constructor & Destructor Documentation

◆ CachedGlyphEdgeTable()

template<class RendererType >
juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::CachedGlyphEdgeTable ( )

Member Function Documentation

◆ draw()

template<class RendererType >
void juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::draw ( RendererType &  state,
Point< float >  pos 
) const

◆ generate()

template<class RendererType >
void juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::generate ( const Font newFont,
int  glyphNumber 
)

Member Data Documentation

◆ font

template<class RendererType >
Font juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::font

◆ edgeTable

template<class RendererType >
ScopedPointer<EdgeTable> juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::edgeTable

◆ glyph

template<class RendererType >
int juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::glyph = 0

◆ lastAccessCount

template<class RendererType >
int juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::lastAccessCount = 0

◆ snapToIntegerCoordinate

template<class RendererType >
bool juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::snapToIntegerCoordinate = false

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