Download Now

    Reference nvgText

    Declared in Codebot.Render.NanoVG.pas on lines 766, 767

    Draws text string at specified location. If EndStr is specified only the sub-string up to the end is drawn
    function nvgText(Ctx: PNVGcontext; X, Y: Single; Str, EndStr: PAnsiChar): Single; overload;
    function nvgText(Ctx: PNVGcontext; X, Y: Single; const S: string): Single; overload;

    See also