Home
last modified time | relevance | path

Searched refs:GetTypeface (Results 1 - 25 of 25) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dfont.cpp113 std::shared_ptr<Typeface> Font::GetTypeface() const in GetTypeface() function in OHOS::Rosen::Drawing::Font
115 return fontImpl_->GetTypeface(); in GetTypeface()
207 std::shared_ptr<Typeface> currentTypeface = GetTypeface(); in GetFallbackFont()
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_typeface.h34 std::shared_ptr<RSTypeface> GetTypeface() const;
H A Dtexgine_font.cpp32 font_->SetTypeface(tf->GetTypeface()); in SetTypeface()
H A Dtexgine_typeface.cpp30 std::shared_ptr<RSTypeface> TexgineTypeface::GetTypeface() const in GetTypeface() function in OHOS::Rosen::TextEngine::TexgineTypeface
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_font_test.cpp108 ASSERT_TRUE(skiaFont->GetTypeface() != nullptr); in HWTEST_F()
190 * @tc.desc: Test GetTypeface
198 auto typeface2 = skiaFont->GetTypeface(); in HWTEST_F()
H A Dskia_typeface_test.cpp392 ASSERT_TRUE(customContext.GetTypeface() == nullptr); in HWTEST_F()
408 ASSERT_TRUE(customContext.GetTypeface() == nullptr); in HWTEST_F()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/font_napi/
H A Djs_typeface.h44 std::shared_ptr<Typeface> GetTypeface();
H A Djs_typeface.cpp129 std::shared_ptr<Typeface> JsTypeface::GetTypeface() in GetTypeface() function in OHOS::Rosen::Drawing::JsTypeface
H A Djs_font.cpp40 DECLARE_NAPI_FUNCTION("getTypeface", JsFont::GetTypeface),
209 napi_value JsFont::GetTypeface(napi_env env, napi_callback_info info) in GetTypeface() function in OHOS::Rosen::Drawing::JsFont
584 m_font->SetTypeface(jsTypeface->GetTypeface()); in OnSetTypeface()
595 std::shared_ptr<Typeface> typeface = m_font->GetTypeface(); in OnGetTypeface()
H A Djs_font.h46 static napi_value GetTypeface(napi_env env, napi_callback_info info);
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_font.cpp48 skFont_ = SkFont(skiaTypeface->GetTypeface(), size, scaleX, skewX);
105 skFont_.setTypeface(skiaTypeface->GetTypeface()); in SetTypeface()
180 std::shared_ptr<Typeface> SkiaFont::GetTypeface() const in GetTypeface() function in OHOS::Rosen::Drawing::SkiaFont
H A Dskia_typeface.cpp34 sk_sp<SkTypeface> SkiaTypeface::GetTypeface() const in GetTypeface() function in OHOS::Rosen::Drawing::SkiaTypeface
276 if (textblobCtx == nullptr || textblobCtx->GetTypeface() == nullptr) { in DeserializeTypeface()
280 auto& typeface = textblobCtx->GetTypeface(); in DeserializeTypeface()
H A Dskia_typeface.h41 sk_sp<SkTypeface> GetTypeface() const;
H A Dskia_font.h60 std::shared_ptr<Typeface> GetTypeface() const override;
H A Dskia_font_mgr.cpp173 dynamicFontMgr->font_provider().RegisterTypeface(skiaTypeFace->GetTypeface(), themeName); in LoadThemeFont()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dfont.h146 std::shared_ptr<Typeface> GetTypeface() const;
H A Dtext_blob.h92 std::shared_ptr<Typeface>& GetTypeface() in GetTypeface() function in OHOS::Rosen::Drawing::TextBlob::Context
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dfont_impl.h56 virtual std::shared_ptr<Typeface> GetTypeface() const = 0;
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/
H A Drun_test.cpp76 EXPECT_EQ(runs_[0]->GetFont().GetTypeface()->GetFamilyName(), familyName_); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Drun_test.cpp75 EXPECT_EQ(runs_[0]->GetFont().GetTypeface()->GetFamilyName(), familyName_); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/textblob_fuzzer/
H A Dtext_blob_fuzzer.cpp145 context.GetTypeface(); in TextBlobFuzzTest004()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Drecording_canvas.cpp420 if (ctx.GetTypeface() != nullptr) { in DrawTextBlob()
421 uint32_t typefaceId = ctx.GetTypeface()->GetUniqueID(); in DrawTextBlob()
H A Ddraw_cmd.cpp1561 if (ctx.GetTypeface() != nullptr) { in Marshalling()
1562 uint32_t typefaceId = ctx.GetTypeface()->GetUniqueID(); in Marshalling()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/font_fuzzer/
H A Dfont_fuzzer.cpp82 font.GetTypeface(); in FontFuzzTest002()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font.cpp182 return (OH_Drawing_Typeface*)(font->GetTypeface().get()); in OH_Drawing_FontGetTypeface()

Completed in 21 milliseconds