Public Member Functions | Public Attributes | List of all members
TextLayout::Glyph Class Reference

A positioned glyph. More...

Public Member Functions

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

Public Attributes

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

Detailed Description

A positioned glyph.

Constructor & Destructor Documentation

◆ Glyph()

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

Member Data Documentation

◆ glyphCode

int TextLayout::Glyph::glyphCode

The code number of this glyph.

◆ anchor

Point<float> TextLayout::Glyph::anchor

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

See also
TextLayout::Line::lineOrigin

◆ width

float TextLayout::Glyph::width

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