JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::DirectWriteGlyphRun Class Reference

Heap storage for a DirectWrite glyph run. More...

#include <juce_DirectX_windows.h>

Collaboration diagram for juce::DirectWriteGlyphRun:

Public Member Functions

auto * getAdvances () const
 
auto * getOffsets () const
 
void replace (Span< const Point< float > > positions, float scale)
 

Private Attributes

std::vector< floatadvances
 
std::vector< DWRITE_GLYPH_OFFSET > offsets
 

Detailed Description

Heap storage for a DirectWrite glyph run.

Member Function Documentation

◆ getAdvances()

auto * juce::DirectWriteGlyphRun::getAdvances ( ) const
inline

References advances.

◆ getOffsets()

auto * juce::DirectWriteGlyphRun::getOffsets ( ) const
inline

References offsets.

◆ replace()

void juce::DirectWriteGlyphRun::replace ( Span< const Point< float > >  positions,
float  scale 
)

Member Data Documentation

◆ advances

std::vector<float> juce::DirectWriteGlyphRun::advances
private

Referenced by getAdvances().

◆ offsets

std::vector<DWRITE_GLYPH_OFFSET> juce::DirectWriteGlyphRun::offsets
private

Referenced by getOffsets().


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