dlangui v0.10.7 (2024-03-11T09:32:36Z)
Home
Dub
Repo
Font.measureMultilineText
dlangui
graphics
fonts
Font
measure multiline text with line splitting, returns width and height in pixels
class
Font
Point
measureMultilineText
(
const
dchar
[]
text
,
int
maxLines
= 0
,
int
maxWidth
= 0
,
int
tabSize
= 4
,
int
tabOffset
= 0
,
uint
textFlags
= 0
)
Meta
Source
See Implementation
dlangui
graphics
fonts
Font
aliases
textSizeMemoized
constructors
this
destructors
~this
functions
charWidth
checkpoint
cleanup
clear
clearGlyphCache
drawColoredText
drawMultilineText
drawText
getCharGlyph
getKerningOffset
measureMultilineText
measureText
textSize
properties
allowKerning
antialiased
baseline
face
family
height
isFixed
isNull
italic
size
spaceWidth
weight
static functions
textSizeImpl
variables
_allowKerning
_spaceWidth
_textSizeBuffer
measure multiline text with line splitting, returns width and height in pixels