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 | Public Attributes | List of all members
juce::RenderingHelpers::CachedGlyphEdgeTable< RendererType > Class Template Reference

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

#include "juce_RenderingHelpers.h"

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

Public Member Functions

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.
 
void decReferenceCount () noexcept
 Decreases the object's reference count.
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count.
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 

Public Attributes

Font font
 
std::unique_ptr< EdgeTableedgeTable
 
int glyph
 
int lastAccessCount
 
bool snapToIntegerCoordinate
 

Additional Inherited Members

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

Detailed Description

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

Caches a glyph as an edge-table.

@tags{Graphics}

Definition at line 274 of file juce_RenderingHelpers.h.

Member Function Documentation

◆ draw()

Definition at line 279 of file juce_RenderingHelpers.h.

◆ generate()

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

Definition at line 288 of file juce_RenderingHelpers.h.

Member Data Documentation

◆ edgeTable

Definition at line 302 of file juce_RenderingHelpers.h.

◆ font

Definition at line 301 of file juce_RenderingHelpers.h.

◆ glyph

Definition at line 303 of file juce_RenderingHelpers.h.

◆ lastAccessCount

Definition at line 303 of file juce_RenderingHelpers.h.

◆ snapToIntegerCoordinate

Definition at line 304 of file juce_RenderingHelpers.h.


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