Home
last modified time | relevance | path

Searched refs:SetTypeface (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_font.cpp29 void TexgineFont::SetTypeface(const std::shared_ptr<TexgineTypeface> tf) in SetTypeface() function in OHOS::Rosen::TextEngine::TexgineFont
32 font_->SetTypeface(tf->GetTypeface()); in SetTypeface()
34 font_->SetTypeface(nullptr); in SetTypeface()
H A Dtexgine_font.h49 void SetTypeface(const std::shared_ptr<TexgineTypeface> tf);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/
H A Dfont.cpp63 void Font::SetTypeface(std::shared_ptr<Typeface> typeface) in SetTypeface() function in OHOS::Rosen::Drawing::Font
65 fontImpl_->SetTypeface(typeface); in SetTypeface()
222 fallbackFont->SetTypeface(fallbackTypeface); in GetFallbackFont()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_svg_painter.cpp579 font.SetTypeface(fontTypeChinese_); in UpdateText()
581 font.SetTypeface(fontTypeNormal_); in UpdateText()
705 font.SetTypeface(fontTypeChinese_); in UpdateTextPath()
707 font.SetTypeface(fontTypeNormal_); in UpdateTextPath()
800 font.SetTypeface(fontTypeChinese_); in MeasureTextBounds()
802 font.SetTypeface(fontTypeNormal_); in MeasureTextBounds()
870 font.SetTypeface(fontTypeChinese_); in MeasureTextPathBounds()
872 font.SetTypeface(fontTypeNormal_); in MeasureTextPathBounds()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font.cpp158 font->SetTypeface(g_LoadZhCnTypeface()); in OH_Drawing_FontCreate()
169 font->SetTypeface(std::shared_ptr<Typeface>{CastToTypeface(cTypeface), [](auto p) {}}); in OH_Drawing_FontSetTypeface()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dfont.h80 void SetTypeface(std::shared_ptr<Typeface> typeface);
H A Dtext_blob.h97 void SetTypeface(std::shared_ptr<Typeface> typeface) in SetTypeface() function
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dfont_impl.h43 virtual void SetTypeface(std::shared_ptr<Typeface> typeface) = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_font.h49 void SetTypeface(std::shared_ptr<Typeface> typeface) override;
H A Dskia_font.cpp89 void SkiaFont::SetTypeface(std::shared_ptr<Typeface> typeface) in SetTypeface() function in OHOS::Rosen::Drawing::SkiaFont
H A Dskia_typeface.cpp272 textblobCtx->SetTypeface(customTypeface); in SerializeTypeface()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/font_napi/
H A Djs_font.cpp38 DECLARE_NAPI_FUNCTION("setTypeface", JsFont::SetTypeface),
107 font->SetTypeface(JsTypeface::LoadZhCnTypeface()); in Constructor()
193 napi_value JsFont::SetTypeface(napi_env env, napi_callback_info info) in SetTypeface() function in OHOS::Rosen::Drawing::JsFont
562 m_font->SetTypeface(jsTypeface->GetTypeface()); in OnSetTypeface()
H A Djs_font.h45 static napi_value SetTypeface(napi_env env, napi_callback_info info);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_font_test.cpp107 skiaFont->SetTypeface(nullptr);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/font_fuzzer/
H A Dfont_fuzzer.cpp81 font.SetTypeface(typeface); in FontFuzzTest002()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_compile_progress.cpp207 font.SetTypeface(tf_); in DrawCompileProgress()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/dfx/
H A Drs_dirty_rects_dfx.cpp171 font.SetTypeface(tf); in DrawCurrentRefreshRate()