dlangui v0.9.182 (2018-11-26T09:11:32Z)
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