Lines Matching refs:fontStyleSet
70 OH_Drawing_FontStyleSet* fontStyleSet = OH_Drawing_FontMgrCreateFontStyleSet(mgr, 0);
71 EXPECT_NE(fontStyleSet, nullptr);
72 OH_Drawing_FontMgrDestroyFontStyleSet(fontStyleSet);
87 OH_Drawing_FontStyleSet* fontStyleSet = OH_Drawing_FontMgrMatchFamily(mgr, matchFamilyName);
88 EXPECT_NE(fontStyleSet, nullptr);
89 OH_Drawing_FontMgrDestroyFontStyleSet(fontStyleSet);
165 OH_Drawing_FontStyleSet* fontStyleSet = OH_Drawing_FontMgrCreateFontStyleSet(nullptr, 0);
166 EXPECT_TRUE(fontStyleSet == nullptr);
168 fontStyleSet = OH_Drawing_FontMgrMatchFamily(nullptr, matchFamilyName);
169 EXPECT_TRUE(fontStyleSet == nullptr);
206 OH_Drawing_FontStyleSet* fontStyleSet = OH_Drawing_FontMgrCreateFontStyleSet(mgr, 0);
207 OH_Drawing_Typeface *typeface = OH_Drawing_FontStyleSetCreateTypeface(fontStyleSet, 0);
211 OH_Drawing_FontMgrDestroyFontStyleSet(fontStyleSet);
224 OH_Drawing_FontStyleSet* fontStyleSet = OH_Drawing_FontMgrCreateFontStyleSet(mgr, 0);
227 normalStyle = OH_Drawing_FontStyleSetGetStyle(fontStyleSet, 0, styleName);
230 OH_Drawing_FontMgrDestroyFontStyleSet(fontStyleSet);
242 OH_Drawing_FontStyleSet* fontStyleSet = OH_Drawing_FontMgrCreateFontStyleSet(mgr, 0);
247 OH_Drawing_Typeface* typeface = OH_Drawing_FontStyleSetMatchStyle(fontStyleSet, normalStyle);
252 OH_Drawing_FontMgrDestroyFontStyleSet(fontStyleSet);
265 OH_Drawing_FontStyleSet* fontStyleSet = OH_Drawing_FontMgrCreateFontStyleSet(mgr, 0);
266 int count = OH_Drawing_FontStyleSetCount(fontStyleSet);
271 OH_Drawing_FontMgrDestroyFontStyleSet(fontStyleSet);