The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
TtfFont.renderCharacter
arsd
ttf
TtfFont
Note that you must stbtt_FreeBitmap(returnValue.ptr, null); this thing or it will leak!!!!
struct
TtfFont
ubyte
[]
renderCharacter
(
dchar
c
,
int
size
,
out
int
width
,
out
int
height
,
float
shift_x
= 0.0
,
float
shift_y
= 0.0
)
arsd
ttf
TtfFont
constructors
this
functions
getStringSize
load
renderCharacter
renderString
Suggestion Box / Bug Report
Note that you must stbtt_FreeBitmap(returnValue.ptr, null); this thing or it will leak!!!!