JUCE
|
Caches a glyph as an edge-table. More...
Public Member Functions | |
CachedGlyphEdgeTable () | |
void | draw (RendererType &state, Point< float > pos) const |
void | generate (const Font &newFont, int glyphNumber) |
![]() | |
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< EdgeTable > | edgeTable |
int | glyph = 0 |
int | lastAccessCount = 0 |
bool | snapToIntegerCoordinate = false |
Additional Inherited Members | |
![]() | |
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... | |
ReferenceCountedObject & | operator= (const ReferenceCountedObject &) noexcept |
Copying from another object does not affect this one's reference-count. More... | |
ReferenceCountedObject & | operator= (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... | |
Caches a glyph as an edge-table.
juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::CachedGlyphEdgeTable | ( | ) |
void juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::draw | ( | RendererType & | state, |
Point< float > | pos | ||
) | const |
References juce::roundToInt(), juce::Point< ValueType >::x, and juce::Point< ValueType >::y.
void juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::generate | ( | const Font & | newFont, |
int | glyphNumber | ||
) |
Font juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::font |
ScopedPointer<EdgeTable> juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::edgeTable |
int juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::glyph = 0 |
int juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::lastAccessCount = 0 |
bool juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType >::snapToIntegerCoordinate = false |