Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
glyph Struct Reference

The components of a glyph (not technically a character). More...

#include <Font.h>

Collaboration diagram for glyph:
Collaboration graph
[legend]

Public Member Functions

FontPageTexturesGetFontPageTextures () const
 
 glyph ()
 Set up the glyph with default values.
 

Public Attributes

FontPagem_pPage
 the FontPage that is needed.
 
FontPageTextures m_FontPageTextures
 the textures for the glyph.
 
int m_iHadvance { 0 }
 Number of pixels to advance horizontally after drawing this character.
 
float m_fWidth { 0 }
 Width of the actual rendered character.
 
float m_fHeight { 0 }
 Height of the actual rendered character.
 
float m_fHshift { 0 }
 Number of pixels to offset this character when rendering.
 
RectF m_TexRect
 Texture coordinate rect.
 

Detailed Description

The components of a glyph (not technically a character).


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