dlangui ~master (2022-06-02T17:41:37Z)
Home
Dub
Repo
Font.drawMultilineText
dlangui
graphics
fonts
Font
draws multiline text with line splitting
class
Font
void
drawMultilineText
(
DrawBuf
buf
,
int
x
,
int
y
,
const
dchar
[]
text
,
uint
color
,
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
draws multiline text with line splitting