A positioned glyph. More...

Public Member Functions

 Glyph (int glyphCode, Point< float > anchor, float width) noexcept
 
 Glyph (const Glyph &) noexcept
 
Glyphoperator= (const Glyph &) noexcept
 
 ~Glyph () 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() [1/2]

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

◆ Glyph() [2/2]

TextLayout::Glyph::Glyph ( const Glyph )
noexcept

◆ ~Glyph()

TextLayout::Glyph::~Glyph ( )
noexcept

Member Function Documentation

◆ operator=()

Glyph& TextLayout::Glyph::operator= ( const Glyph )
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: