JUCE  v5.4.1-191-g0ab5e696f
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
 
 Glyph (const Glyph &) noexcept
 
 ~Glyph () noexcept
 
Glyphoperator= (const Glyph &) 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() [1/2]

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

◆ Glyph() [2/2]

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

◆ ~Glyph()

juce::TextLayout::Glyph::~Glyph ( )
noexcept

Member Function Documentation

◆ operator=()

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