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

A positioned glyph. More...

#include <juce_TextLayout.h>

Collaboration diagram for juce::TextLayout::Glyph:

Public Member Functions

 Glyph (int glyphCode, Point< float > anchor, float width) noexcept
 

Public Attributes

Point< floatanchor
 The glyph's anchor point - this is relative to the line's origin.
 
int glyphCode
 The code number of this glyph.
 
float width
 

Detailed Description

A positioned glyph.

Constructor & Destructor Documentation

◆ Glyph()

juce::TextLayout::Glyph::Glyph ( int  glyphCode,
Point< float anchor,
float  width 
)
noexcept

Member Data Documentation

◆ anchor

Point<float> juce::TextLayout::Glyph::anchor

The glyph's anchor point - this is relative to the line's origin.

See also
TextLayout::Line::lineOrigin

◆ glyphCode

int juce::TextLayout::Glyph::glyphCode

The code number of this glyph.

◆ width

float juce::TextLayout::Glyph::width

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