Class TTextureFontData.TGlyph
Unit
Declaration
type TGlyph = class(TObject)
Description
Information about a particular font glyph.
Hierarchy
- TObject
- TTextureFontData.TGlyph
Enclosing Class
Overview
Fields
X: Integer; |
|
Y: Integer; |
|
AdvanceX: Integer; |
|
AdvanceY: Integer; |
|
Width: Cardinal; |
|
Height: Cardinal; |
|
ImageX: Cardinal; |
|
ImageY: Cardinal; |
Description
Fields
X: Integer; |
|
How to shift the glyph with respect to the starting position when drawing. |
Y: Integer; |
|
How to shift the glyph with respect to the starting position when drawing. |
AdvanceX: Integer; |
|
How to advance the position for next glyph. |
AdvanceY: Integer; |
|
How to advance the position for next glyph. |
ImageX: Cardinal; |
|
Position of the glyph on the image in TTextureFontData.Image. For rendering, use GlyphDrawImageRect to get the actual size, as these fields include an extra padding in case of distance field rendering. |
ImageY: Cardinal; |
|
Position of the glyph on the image in TTextureFontData.Image. For rendering, use GlyphDrawImageRect to get the actual size, as these fields include an extra padding in case of distance field rendering. |
Generated by PasDoc 0.16.0-snapshot.