arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
DrawingTextContext
arsd
ttf
Undocumented in source.
struct
DrawingTextContext {
const
(
char
)[]
text
;
float
x
;
float
y
;
const
int
left
;
const
int
top
;
const
int
right
;
const
int
bottom
;
}
Members
Variables
bottom
int
bottom
;
bounding box, if applicable
left
int
left
;
right
int
right
;
bounding box, if applicable
text
const
(
char
)[]
text
;
remaining text
top
int
top
;
bounding box, if applicable
x
float
x
;
y
float
y
;
current position of the baseline
Meta
Source
See Implementation
arsd
ttf
classes
OpenGlLimitedFont
OpenGlLimitedFontBase
enums
OpenGlFontGLVersion
STBTT_MACSTYLE_DONTCARE
STBTT_vmove
functions
stbtt_GetGlyphBitmapBoxSubpixel
structs
DrawingTextContext
TtfFont
stbtt_bakedchar