Download Now

    Reference TNVGcontext

    Declared in Codebot.Render.NanoVG.pas on line 333

      TNVGcontext = record
      public
        Params: TNVGparams;
        Commands: PSingle;
        CCommands: Integer;
        NCommands: Integer;
        CommandX: Single;
        CommandY: Single;
        States: array[0..NVG_MAX_STATES - 1] of TNVGstate;
        NStates: Integer;
        Cache: PNVGpathCache;
        TessTol: Single;
        DistTol: Single;
        FringeWidth: Single;
        DevicePxRatio: Single;
        Fs: PFonsContext;
        FontImages: array[0..NVG_MAX_FONTIMAGES - 1] of Integer;
        FontImageIdx: Integer;
        DrawCallCount: Integer;
        FillTriCount: Integer;
        StrokeTriCount: Integer;
        TextTriCount: Integer;
      end;

    See also

    PFonsContext in Codebot.Render.FontStash.pas