dlangui v0.10.0 (2022-11-08T19:06:33Z)
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