arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
FONScontextInternal.getNameById
arsd
nanovega
FONScontextInternal
Returns logical font name corresponding to the given font id, or
null
.
Copy returned name, as name buffer can be invalidated by next FontStash API call!
struct
FONScontextInternal
const pure nothrow @
trusted
@
nogc
const
(
char
)[]
getNameById
(
int
idx
)
Meta
Source
See Implementation
arsd
nanovega
FONScontextInternal
functions
addFallbackFont
addFont
addFontMem
addFontsFrom
clearState
fontAscender
fontDescender
fontHeight
getFontAA
getFontByName
getLineBounds
getNameById
getTextBounds
getVertMetrics
hasFont
popState
pushState
static functions
create
Returns logical font name corresponding to the given font id, or null.