The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
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
)
arsd
nanovega
FONScontextInternal
functions
addFallbackFont
addFont
addFontMem
addFontsFrom
clearState
fontAscender
fontDescender
fontHeight
getFontAA
getFontByName
getLineBounds
getNameById
getTextBounds
getVertMetrics
hasFont
popState
pushState
static functions
create
Suggestion Box / Bug Report
Returns logical font name corresponding to the given font id, or null.