dlangui v0.10.2 (2022-12-17T17:39:40Z)
Home
Dub
Repo
SimpleTextFormatter.draw
dlangui
graphics
fonts
SimpleTextFormatter
draw horizontaly aligned formatted text
void
draw
(DrawBuf buf, int x, int y, FontRef fnt, uint color)
void
draw
(DrawBuf buf, int x, int y, FontRef fnt, uint color, ubyte alignment)
struct
SimpleTextFormatter
void
draw
(
DrawBuf
buf
,
int
x
,
int
y
,
FontRef
fnt
,
uint
color
,
ubyte
alignment
)
Meta
Source
See Implementation
dlangui
graphics
fonts
SimpleTextFormatter
functions
draw
format
variables
_lines
_linesWidths
_maxLineWidth
_tabOffset
_tabSize
_textFlags
draw horizontaly aligned formatted text