Reference nvgTextBreakLines
Declared in Codebot.Render.NanoVG.pas on line 802
Breaks the specified text into lines. If EndStr is specified only the sub-string will be used. White space is stripped at the beginning of the rows, the text is split at word boundaries or when new-line characters are encountered. Words longer than the max width are slit at nearest character (i.e. no hyphenation)
function nvgTextBreakLines(Ctx: PNVGcontext; Str, EndStr: PAnsiChar; BreakRowWidth: Single; Rows: PNVGtextRow; MaxRows: Integer): Integer;