Home
last modified time | relevance | path

Searched defs:SkAFont (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/ports/
DSkFontMgr_android_ndk.cpp163 struct SkAFont { struct
164 SkAFont(const AndroidFontAPI& api, AFont* font) : fAPI(api), fFont(font) {} in SkAFont() argument
165 SkAFont(SkAFont&& that) : fAPI(that.fAPI), fFont(that.fFont) { in SkAFont() function
168 ~SkAFont() { in ~SkAFont()
174 explicit operator bool() { return fFont; } in operator bool()
176 const char* getFontFilePath() const { return fAPI.AFont_getFontFilePath(fFont); } in getFontFilePath()
177 uint16_t getWeight() const { return fAPI.AFont_getWeight(fFont); } in getWeight()
178 bool isItalic() const { return fAPI.AFont_isItalic(fFont); } in isItalic()
179 const char* getLocale() const { return fAPI.AFont_getLocale(fFont); } in getLocale()
180 size_t getCollectionIndex() const { return fAPI.AFont_getCollectionIndex(fFont); } in getCollectionIndex()
[all …]