Home
last modified time | relevance | path

Searched defs:typeface (Results 1 - 25 of 55) sorted by relevance

123

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/drawing_utils/
H A Ddrawing_canvas_utils.h43 auto typeface = OHOS::Rosen::Drawing::Typeface::MakeFromFile(ZH_CN_TTF); in g_LoadZhCnTypeface() local
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dfont_collection_test.cpp38 auto typeface = fontCollection->LoadFont("familyname", data, 0); in HWTEST_F() local
54 auto typeface = OHOS::Rosen::Drawing::Typeface::MakeDefault(); in HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/font_napi/
H A Djs_typeface.h31 explicit JsTypeface(std::shared_ptr<Typeface> typeface) : m_typeface(typeface) {}; in JsTypeface() argument
H A Djs_typeface.cpp92 napi_value JsTypeface::CreateJsTypeface(napi_env env, const std::shared_ptr<Typeface> typeface) in CreateJsTypeface() argument
122 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(ZH_CN_TTF); in LoadZhCnTypeface() local
165 auto typeface = new JsTypeface(rawTypeface); in MakeFromFile() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/interface/
H A Dtypeface_test.cpp50 OH_Drawing_Typeface* typeface; in OnTestPerformance() local
80 OH_Drawing_Typeface* typeface; in OnTestPerformance() local
107 OH_Drawing_Typeface* typeface; OnTestPerformance() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_font_style_set.cpp55 RSTypeface* typeface = set_->CreateTypeface(index); in CreateTypeface() local
65 RSTypeface* typeface = set_->MatchStyle(style); in MatchStyle() local
H A Dtexgine_typeface.cpp25 TexgineTypeface::TexgineTypeface(std::shared_ptr<RSTypeface> typeface): typeface_(typeface) {} in TexgineTypeface() argument
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_font_mgr_test.cpp105 auto typeface = skiaFontMgr->MatchFamilyStyle("0", fontStyle); in HWTEST_F() local
H A Dskia_font_style_set_test.cpp66 auto typeface = skiaFontStyleSet->MatchStyle(fontStyle); in HWTEST_F() local
H A Dskia_font_test.cpp50 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in HWTEST_F() local
63 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in HWTEST_F() local
77 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in HWTEST_F() local
91 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in HWTEST_F() local
105 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in HWTEST_F() local
119 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); HWTEST_F() local
133 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); HWTEST_F() local
147 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); HWTEST_F() local
161 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); HWTEST_F() local
182 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); HWTEST_F() local
196 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); HWTEST_F() local
210 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_font_mgr_test.cpp112 OH_Drawing_Typeface *typeface = OH_Drawing_FontMgrMatchFamilyStyle(mgr, matchFamilyName, normalStyle); in HWTEST_F() local
178 OH_Drawing_Typeface *typeface = OH_Drawing_FontMgrMatchFamilyStyle(nullptr, matchFamilyName, normalStyle); in HWTEST_F() local
210 OH_Drawing_Typeface *typeface = OH_Drawing_FontStyleSetCreateTypeface(fontStyleSet, 0); in HWTEST_F() local
250 OH_Drawing_Typeface* typeface = OH_Drawing_FontStyleSetMatchStyle(fontStyleSet, normalStyle); HWTEST_F() local
[all...]
H A Ddrawing_typeface_test.cpp50 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateFromFile(path, 0); in HWTEST_F() local
65 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateFromStream(memoryStream, 1); in HWTEST_F() local
78 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateDefault(); in HWTEST_F() local
150 OH_Drawing_Typeface *typeface = in HWTEST_F() local
185 OH_Drawing_Typeface *typeface = OH_Drawing_TypefaceCreateFromCurrent(current, nullptr); HWTEST_F() local
212 OH_Drawing_Typeface *typeface = OH_Drawing_TypefaceCreateFromCurrent(current, fontArgs); HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/utils/objectmgr_fuzzer/
H A Dobject_mgr_fuzzer.cpp97 std::shared_ptr<Typeface> typeface = tpyefacemgr.Find(key); in TypefaceMgrFuzzTest000() local
/foundation/arkui/ace_engine/frameworks/core/components/font/
H A Drosen_font_collection.cpp97 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(std::move(font_stream)); in LoadFontFromList() local
142 sk_sp<SkTypeface> typeface = SkTypeface::MakeFromStream(std::move(font_stream)); in LoadThemeFont() local
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/windows/
H A Drs_marshalling_helper.cpp111 bool RSMarshallingHelper::Marshalling(Parcel& parcel, std::shared_ptr<Drawing::Typeface>& typeface) in Marshalling() argument
116 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Typeface>& typeface) in Unmarshalling() argument
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dfont_collection.cpp81 bool FontCollection::RegisterTypeface(std::shared_ptr<Drawing::Typeface> typeface) in RegisterTypeface() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dtypeface_font_asset_provider.cpp53 void TypefaceFontAssetProvider::RegisterTypeface(sk_sp<SkTypeface> typeface) in RegisterTypeface() argument
66 void TypefaceFontAssetProvider::RegisterTypeface(sk_sp<SkTypeface> typeface, std::string familyNameAlias) in RegisterTypeface() argument
102 registerTypeface(sk_sp<SkTypeface> typeface) registerTypeface() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dtext_blob.h97 void SetTypeface(std::shared_ptr<Typeface> typeface) in SetTypeface() argument
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/
H A Dobject_mgr.cpp112 void TypefaceMgr::Insert(void* key, std::shared_ptr<Typeface> typeface) in Insert() argument
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndktypeface_fuzzer/
H A Dndktypeface_fuzzer.cpp54 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateDefault(); in NativeDrawingTypefaceTest001() local
102 OH_Drawing_Typeface* typeface = OH_Drawing_TypefaceCreateFromStream(memoryStream, streamIndex); in NativeDrawingTypefaceTest002() local
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/darwin/
H A Drs_marshalling_helper.cpp104 bool RSMarshallingHelper::Marshalling(Parcel& parcel, std::shared_ptr<Drawing::Typeface>& typeface) in Marshalling() argument
109 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, std::shared_ptr<Drawing::Typeface>& typeface) in Unmarshalling() argument
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_typeface_cache_test.cpp47 std::shared_ptr<Drawing::Typeface> typeface = Drawing::Typeface::MakeDefault(); in HWTEST_F() local
144 auto typeface = Drawing::Typeface::MakeDefault(); HWTEST_F() local
212 auto typeface = Drawing::Typeface::MakeDefault(); HWTEST_F() local
229 auto typeface = Drawing::Typeface::MakeDefault(); HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/transaction/
H A Drs_interfaces_test.cpp105 auto typeface = std::make_shared<Drawing::Typeface>(typefaceImpl); in HWTEST_F() local
124 auto typeface = std::make_shared<Drawing::Typeface>(typefaceImpl); in HWTEST_F() local
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/
H A Dtypeface_fuzzer.cpp41 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); in TypefaceFuzzTest001() local
73 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(path, length); TypefaceFuzzTest002() local
100 std::shared_ptr<Typeface> typeface = Typeface::MakeFromStream(std::move(memoryStream)); TypefaceFuzzTest003() local
119 std::shared_ptr<Typeface> typeface = Typeface::MakeDefault(); TypefaceFuzzTest004() local
172 std::shared_ptr<Typeface> typeface = Typeface::MakeFromName(familyName, fontStyle); TypefaceFuzzTest005() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_typeface.cpp79 static OH_Drawing_Typeface* RegisterAndConvertTypeface(std::shared_ptr<Typeface> typeface) in RegisterAndConvertTypeface() argument
98 std::shared_ptr<Typeface> typeface in OH_Drawing_TypefaceCreateDefault() local
114 std::shared_ptr<Typeface> typeface = Typeface::MakeFromFile(path, index); OH_Drawing_TypefaceCreateFromFile() local
155 std::shared_ptr<Typeface> typeface = currentTypeface->MakeClone(fontArguments); OH_Drawing_TypefaceCreateFromCurrent() local
169 std::shared_ptr<Typeface> typeface = Typeface::MakeFromStream(std::move(memoryStream), index); OH_Drawing_TypefaceCreateFromStream() local
190 auto typeface = TypefaceMgr::GetInstance().Find(cTypeface); OH_Drawing_TypefaceDestroy() local
[all...]

Completed in 15 milliseconds

123