Glyph ClassDelta Engine Documentation
Used in FontData to store all glyph character data from the font bitmap. For some help see: http://blogs.msdn.com/garykac/articles/749188.aspx View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Rendering2D.Fonts Glyph

Namespace: DeltaEngine.Rendering2D.Fonts
Assembly: DeltaEngine.Rendering2D.Fonts (in DeltaEngine.Rendering2D.Fonts.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class Glyph

The Glyph type exposes the following members.

Constructors

  NameDescription
Public methodGlyph
Initializes a new instance of the Glyph class
Top
Fields

  NameDescription
Public fieldAdvanceWidth
How many pixels we have to advance to the right for this character (different from UV.Width) View code on GitHub
Public fieldKernings
Contains the amount of extra distances offsets between this character to any other one. View code on GitHub
Public fieldLeftSideBearing
Left side bearing (in pixels) is used to offset the first character of a text to the left. View code on GitHub
Public fieldPrecomputedFontMapUV
Not stored in the Xml font file because we can easily generate them at load time (UV/size). View code on GitHub
Public fieldRightSideBearing
Right side bearing (in pixels) is used to offset last character of a text to the right. View code on GitHub
Public fieldUV
UV Rectangle (in Pixels) used for drawing this character. View code on GitHub
Top
See Also