The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
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.