dlangui v0.9.187 (2022-04-16T10:49:25Z)
Home
Dub
Repo
SimpleTextFormatter.format
dlangui
graphics
fonts
SimpleTextFormatter
split text into lines and measure it; returns size in pixels
struct
SimpleTextFormatter
Point
format
(
const
dchar
[]
text
,
FontRef
fnt
,
int
maxLines
= 0
,
int
maxWidth
= 0
,
int
tabSize
= 4
,
int
tabOffset
= 0
,
uint
textFlags
= 0
)
Meta
Source
See Implementation
dlangui
graphics
fonts
SimpleTextFormatter
functions
draw
format
variables
_lines
_linesWidths
_maxLineWidth
_tabOffset
_tabSize
_textFlags
split text into lines and measure it; returns size in pixels