Home
last modified time | relevance | path

Searched refs:FontDescSharedPtr (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_descriptor_cache.h28 using FontDescSharedPtr = std::shared_ptr<TextEngine::FontParser::FontDescriptor>; variable
38 const int32_t& systemFontType, FontDescSharedPtr& result);
42 void FontDescriptorScatter(FontDescSharedPtr desc);
55 bool operator()(const FontDescSharedPtr& lhs, const FontDescSharedPtr& rhs) const in operator()
63 std::set<FontDescSharedPtr, FontDescriptorEqual> allFontDescriptor_;
64 std::unordered_map<std::string, std::set<FontDescSharedPtr>> fontFamilyMap_;
65 std::unordered_map<std::string, std::set<FontDescSharedPtr>> fullNameMap_;
68 std::set<FontDescSharedPtr> boldCache_;
69 std::set<FontDescSharedPtr> italicCache_;
70 std::set<FontDescSharedPtr> monoSpaceCache_;
[all …]
H A Dfont_descriptor_cache.cpp70FontDescSharedPtr descriptorPtr = std::make_shared<TextEngine::FontParser::FontDescriptor>(descrip… in ParserStylishFonts()
76 void FontDescriptorCache::FontDescriptorScatter(FontDescSharedPtr desc) in FontDescriptorScatter()
129 std::vector<FontDescSharedPtr> descriptors = parser_.ParserFontDescriptorsFromPath(path); in GetInstallFontList()
202 …rCache::ParseInstallFontDescSharedPtrByName(const std::string& fullName, FontDescSharedPtr& result) in ParseInstallFontDescSharedPtrByName()
210 std::vector<FontDescSharedPtr> descriptors = parser_.ParserFontDescriptorsFromPath(path); in ParseInstallFontDescSharedPtrByName()
224 const int32_t& systemFontType, FontDescSharedPtr& result) in GetFontDescSharedPtrByFullName()
243 std::set<FontDescSharedPtr>>& map) -> bool { in GetFontDescSharedPtrByFullName()
H A Dfont_descriptor_mgr.h29 using FontDescSharedPtr = std::shared_ptr<TextEngine::FontParser::FontDescriptor>; variable
42 const int32_t& systemFontType, FontDescSharedPtr& result);
H A Dfont_descriptor_mgr.cpp49 const int32_t& systemFontType, FontDescSharedPtr& result) in GetFontDescSharedPtrByFullName()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/texgine/unittest/
H A Dfont_descriptor_cache_test.cpp87 FontDescSharedPtr desc = nullptr;
88 std::set<FontDescSharedPtr> result;
118 std::set<FontDescSharedPtr> finishRet;
161 std::set<FontDescSharedPtr> finishRet;
197 FontDescSharedPtr result = nullptr;
207 std::set<FontDescSharedPtr> fontDescSet;
237 std::set<FontDescSharedPtr> finishRet;
267 std::set<FontDescSharedPtr> finishRet;
296 std::set<FontDescSharedPtr> finishRet;
325 std::set<FontDescSharedPtr> finishRet;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontdescriptor_napi/include/
H A Djs_fontdescriptor.h26 using FontDescSharedPtr = std::shared_ptr<TextEngine::FontParser::FontDescriptor>; variable
31 static napi_value CreateFontDescriptor(napi_env env, FontDescSharedPtr& result);
37 …static bool CreateAndSetProperties(napi_env env, napi_value fontDescriptor, FontDescSharedPtr item…
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/fontdescriptor_napi/src/
H A Djs_fontdescriptor.cpp70 …Descriptor::CreateAndSetProperties(napi_env env, napi_value fontDescriptor, FontDescSharedPtr item) in CreateAndSetProperties()
93 napi_value JsFontDescriptor::CreateFontDescriptor(napi_env env, FontDescSharedPtr& result) in CreateFontDescriptor()
162 FontDescSharedPtr resultDesc = nullptr; in GetFontDescriptorByFullName()