km-engine ~master (2022-05-09T12:27:43.0681511)
Dub
Repo
Font.draw
engine
render
texture
font
Font
draws a character
void
draw
(dstring text, vec2 position, vec4 color)
void
draw
(dchar c, vec2 position, vec2 origin, float rotation, vec4 color)
class
Font
void
draw
(
dchar
c
,
vec2
position
,
vec2
origin
=
vec2
(0)
,
float
rotation
= 0
,
vec4
color
=
vec4
(1)
)
Meta
Source
See Implementation
engine
render
texture
font
Font
constructors
this
destructors
~this
functions
advance
changeSize
draw
flush
getMetrics
measure
draws a character