Searched refs:TypefaceMgr (Results 1 – 4 of 4) sorted by relevance
79 class TypefaceMgr {81 TypefaceMgr(const TypefaceMgr&) = delete;82 TypefaceMgr& operator=(const TypefaceMgr&) = delete;84 static TypefaceMgr& GetInstance();91 TypefaceMgr() {} in TypefaceMgr() function
106 TypefaceMgr& TypefaceMgr::GetInstance() in GetInstance()108 static TypefaceMgr instance; in GetInstance()112 void TypefaceMgr::Insert(void* key, std::shared_ptr<Typeface> typeface) in Insert()118 std::shared_ptr<Typeface> TypefaceMgr::Find(void* key) in Find()129 bool TypefaceMgr::Remove(void* key) in Remove()
92 TypefaceMgr::GetInstance().Insert(drawingTypeface, typeface); in RegisterAndConvertTypeface()104 TypefaceMgr::GetInstance().Insert(drawingTypeface, typeface); in OH_Drawing_TypefaceCreateDefault()129 TypefaceMgr::GetInstance().Insert(drawingTypeface, typeface); in OH_Drawing_TypefaceCreateFromFile()181 TypefaceMgr::GetInstance().Insert(drawingTypeface, typeface); in OH_Drawing_TypefaceCreateFromStream()190 auto typeface = TypefaceMgr::GetInstance().Find(cTypeface); in OH_Drawing_TypefaceDestroy()194 TypefaceMgr::GetInstance().Remove(cTypeface); in OH_Drawing_TypefaceDestroy()
175 TypefaceMgr::GetInstance().Insert(drawingTypeface, sharedTypeface); in OH_Drawing_FontMgrMatchFamilyStyle()195 TypefaceMgr::GetInstance().Insert(drawingTypeface, sharedTypeface); in OH_Drawing_FontMgrMatchFamilyStyleCharacter()210 TypefaceMgr::GetInstance().Insert(drawingTypeface, typeface); in OH_Drawing_FontStyleSetCreateTypeface()278 TypefaceMgr::GetInstance().Insert(drawingTypeface, typeface); in OH_Drawing_FontStyleSetMatchStyle()