Download Now

    Reference TFontGlyph

    Declared in Codebot.Render.Fonts.pas on line 21

    TFontGlyph describes one glyph in the texture atlas of a font. Offsets are in font pixels from the pen position on the baseline, with y pointing down.
      TFontGlyph = record
      public
        Codepoint: Integer;
        Index: Integer;
        Advance: Float;
        X0: Float;
        Y0: Float;
        X1: Float;
        Y1: Float;
        S0: Float;
        T0: Float;
        S1: Float;
        T1: Float;
      end;

    See also

    Float in Codebot.System.pas