Home
last modified time | relevance | path

Searched refs:fontConfig (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/src/ports/skia_ohos/
H A DSkFontMgr_ohos.cpp17 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 DSkFontStyleSet_ohos.cpp8 * \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 DSkFontStyleSet_ohos.h18 SkFontStyleSet_OHOS(const std::shared_ptr<FontConfig_OHOS>& fontConfig,
H A DSkFontMgr_ohos.h58 std::shared_ptr<FontConfig_OHOS> fontConfig = nullptr; // the pointer of FontConfig_OHOS member in SkFontMgr_OHOS

Completed in 2 milliseconds