Download Now

    Reference TFonsContext

    Declared in Codebot.Render.FontStash.pas on line 172

      TFonsContext = record
      public
        Params: TFonsParams;
        ITW: Single;
        ITH: Single;
        TexData: PByte;
        DirtyRect: array[0..3] of Integer;
        Fonts: PPFonsFont;
        Atlas: PFonsAtlas;
        CFonts: Integer;
        NFonts: Integer;
        Verts: array[0..FONS_VERTEX_COUNT * 2 - 1] of Single;
        TCoords: array[0..FONS_VERTEX_COUNT * 2 - 1] of Single;
        Colors: array[0..FONS_VERTEX_COUNT - 1] of Cardinal;
        NVerts: Integer;
        States: array[0..FONS_MAX_STATES - 1] of TFonsState;
        NStates: Integer;
        HandleError: TFonsErrorCallback;
        ErrorUptr: Pointer;
      end;

    See also