Searched refs:fontConfig (Results 1 - 4 of 4) sorted by relevance
/third_party/skia/src/ports/skia_ohos/ |
H A D | SkFontMgr_ohos.cpp | 17 fontConfig = std::make_shared<FontConfig_OHOS>(fontScanner, path); in SkFontMgr_OHOS() 18 familyCount = fontConfig->getFamilyCount(); in SkFontMgr_OHOS() 36 if (fontConfig == nullptr || familyName == nullptr) { in onGetFamilyName() 39 fontConfig->getFamilyName(index, familyName); in onGetFamilyName() 50 if (fontConfig == nullptr) { in onCreateStyleSet() 56 return new SkFontStyleSet_OHOS(fontConfig, index); in onCreateStyleSet() 68 if (fontConfig == nullptr) { in onMatchFamily() 73 return new SkFontStyleSet_OHOS(fontConfig, 0); in onMatchFamily() 77 int index = fontConfig->getStyleIndex(familyName, isFallback); in onMatchFamily() 81 return new SkFontStyleSet_OHOS(fontConfig, inde in onMatchFamily() [all...] |
H A D | SkFontStyleSet_ohos.cpp | 8 * \param fontConfig the pointer of FontConfig_OHOS 13 SkFontStyleSet_OHOS::SkFontStyleSet_OHOS(const std::shared_ptr<FontConfig_OHOS>& fontConfig, in SkFontStyleSet_OHOS() argument 15 : fontConfig_(fontConfig), styleIndex(index), isFallback(isFallback) in SkFontStyleSet_OHOS() 17 if (fontConfig) { in SkFontStyleSet_OHOS()
|
H A D | SkFontStyleSet_ohos.h | 18 SkFontStyleSet_OHOS(const std::shared_ptr<FontConfig_OHOS>& fontConfig,
|
H A D | SkFontMgr_ohos.h | 58 std::shared_ptr<FontConfig_OHOS> fontConfig = nullptr; // the pointer of FontConfig_OHOS member in SkFontMgr_OHOS
|
Completed in 2 milliseconds