/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/drawing_utils/ |
H A D | drawing_canvas_utils.h | 43 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 D | font_collection_test.cpp | 38 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 D | js_typeface.h | 31 explicit JsTypeface(std::shared_ptr<Typeface> typeface) : m_typeface(typeface) {}; in JsTypeface() argument
|
H A D | js_typeface.cpp | 92 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 D | typeface_test.cpp | 50 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 D | texgine_font_style_set.cpp | 55 RSTypeface* typeface = set_->CreateTypeface(index); in CreateTypeface() local 65 RSTypeface* typeface = set_->MatchStyle(style); in MatchStyle() local
|
H A D | texgine_typeface.cpp | 25 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 D | skia_font_mgr_test.cpp | 105 auto typeface = skiaFontMgr->MatchFamilyStyle("0", fontStyle); in HWTEST_F() local
|
H A D | skia_font_style_set_test.cpp | 66 auto typeface = skiaFontStyleSet->MatchStyle(fontStyle); in HWTEST_F() local
|
H A D | skia_font_test.cpp | 50 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 D | drawing_font_mgr_test.cpp | 112 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 D | drawing_typeface_test.cpp | 50 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 D | object_mgr_fuzzer.cpp | 97 std::shared_ptr<Typeface> typeface = tpyefacemgr.Find(key); in TypefaceMgrFuzzTest000() local
|
/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | rosen_font_collection.cpp | 97 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 D | rs_marshalling_helper.cpp | 111 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 D | font_collection.cpp | 81 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 D | typeface_font_asset_provider.cpp | 53 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 D | text_blob.h | 97 void SetTypeface(std::shared_ptr<Typeface> typeface) in SetTypeface() argument
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/utils/ |
H A D | object_mgr.cpp | 112 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 D | ndktypeface_fuzzer.cpp | 54 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 D | rs_marshalling_helper.cpp | 104 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 D | rs_typeface_cache_test.cpp | 47 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 D | rs_interfaces_test.cpp | 105 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 D | typeface_fuzzer.cpp | 41 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 D | drawing_typeface.cpp | 79 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...] |