JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
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. More...
 
int glyphCode
 The code number of this glyph. More...
 
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: