dlangui v0.10.7 (2024-03-11T09:32:36Z)
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