Class TTextureFontData.TGlyph

Unit

Declaration

type TGlyph = class(TObject)

Description

Information about a particular font glyph.

Hierarchy

  • TObject
  • TTextureFontData.TGlyph

Enclosing Class

Overview

Fields

Public X: Integer;
Public Y: Integer;
Public AdvanceX: Integer;
Public AdvanceY: Integer;
Public Width: Cardinal;
Public Height: Cardinal;
Public ImageX: Cardinal;
Public ImageY: Cardinal;

Description

Fields

Public X: Integer;

How to shift the glyph with respect to the starting position when drawing.

Public Y: Integer;

How to shift the glyph with respect to the starting position when drawing.

Public AdvanceX: Integer;

How to advance the position for next glyph.

Public AdvanceY: Integer;

How to advance the position for next glyph.

Public Width: Cardinal;

Size of the glyph. Always Width and Height >= 0 (they are Cardinal type after all), but note that it is possible that Width = Height = 0 (it commonly happens for space ' ' character).

Public Height: Cardinal;

Size of the glyph. Always Width and Height >= 0 (they are Cardinal type after all), but note that it is possible that Width = Height = 0 (it commonly happens for space ' ' character).

Public ImageX: Cardinal;

Position of the glyph on the image in TTextureFontData.Image.

Public ImageY: Cardinal;

Position of the glyph on the image in TTextureFontData.Image.


Generated by PasDoc 0.16.0.