Download Now

    Reference nvgTextGlyphPositions

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

    Calculates the glyph x positions of the specified text. If EndStr is specified only the sub-string will be used. Measured values are returned in local coordinate space
    function nvgTextGlyphPositions(Ctx: PNVGcontext; X, Y: Single; Str, EndStr: PAnsiChar; Positions: PNVGglyphPosition; MaxPositions: Integer): Integer;

    See also