Versions in this module Expand all Collapse all v0 v0.0.3 Mar 16, 2026 Changes in this version + const AFAMILY_VARIANT_COMPACT + const AFAMILY_VARIANT_DEFAULT + const AFAMILY_VARIANT_ELEGANT + const AFONT_WEIGHT_BLACK + const AFONT_WEIGHT_BOLD + const AFONT_WEIGHT_EXTRA_BOLD + const AFONT_WEIGHT_EXTRA_LIGHT + const AFONT_WEIGHT_LIGHT + const AFONT_WEIGHT_MAX + const AFONT_WEIGHT_MEDIUM + const AFONT_WEIGHT_MIN + const AFONT_WEIGHT_NORMAL + const AFONT_WEIGHT_SEMI_BOLD + const AFONT_WEIGHT_THIN + func AFontMatcher_destroy(matcher *AFontMatcher) + func AFontMatcher_setFamilyVariant(matcher *AFontMatcher, familyVariant uint32) + func AFontMatcher_setLocales(matcher *AFontMatcher, languageTags string) + func AFontMatcher_setStyle(matcher *AFontMatcher, weight uint16, italic bool) + func AFont_close(font *AFont) + func AFont_getAxisCount(font *AFont) uint64 + func AFont_getAxisTag(font *AFont, axisIndex uint32) uint32 + func AFont_getAxisValue(font *AFont, axisIndex uint32) float32 + func AFont_getCollectionIndex(font *AFont) uint64 + func AFont_getFontFilePath(font *AFont) string + func AFont_getLocale(font *AFont) string + func AFont_getWeight(font *AFont) uint16 + func AFont_isItalic(font *AFont) bool + func ASystemFontIterator_close(iterator *ASystemFontIterator) + type AFont C.AFont + func AFontMatcher_match(matcher *AFontMatcher, familyName string, text *uint16, textLength uint32, ...) *AFont + func ASystemFontIterator_next(iterator *ASystemFontIterator) *AFont + type AFontMatcher C.AFontMatcher + func AFontMatcher_create() *AFontMatcher + type ASystemFontIterator C.ASystemFontIterator + func ASystemFontIterator_open() *ASystemFontIterator + type CgoAllocMap struct + func UnpackPCharString(str string) (*C.char, *CgoAllocMap) + func (a *CgoAllocMap) Add(ptr unsafe.Pointer) + func (a *CgoAllocMap) Borrow(b *CgoAllocMap) + func (a *CgoAllocMap) Free() + func (a *CgoAllocMap) IsEmpty() bool + type SliceHeader struct + Cap int + Data unsafe.Pointer + Len int