JUCE  v5.1.1-3-g1a0b28c73
JUCE API
TextLayout::Glyph Class Reference

A positioned glyph. More...

#include <juce_TextLayout.h>

Collaboration diagram for TextLayout::Glyph:

Public Member Functions

 Glyph (int glyphCode, Point< float > anchor, float width) noexcept
 
 Glyph (const Glyph &) noexcept
 
 ~Glyph () noexcept
 
Glyphoperator= (const Glyph &) noexcept
 

Public Attributes

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

◆ anchor

Point<float> TextLayout::Glyph::anchor

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

See also
TextLayout::Line::lineOrigin

◆ glyphCode

int TextLayout::Glyph::glyphCode

The code number of this glyph.

◆ width

float TextLayout::Glyph::width

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