/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | font_style.h | 64 enum Slant { enum in OHOS::Rosen::Drawing::FontStyle 70 constexpr FontStyle(int weight, int width, Slant slant) : fValue( in FontStyle() 84 Slant GetSlant() const { return (Slant)((fValue >> BIT24) & 0xFF); } in GetSlant()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_font_style.h | 28 enum class Slant { class in OHOS::Rosen::TextEngine::TexgineFontStyle 36 TexgineFontStyle(int weight, int width, Slant slant);
|
H A D | texgine_font_style.cpp | 26 int weight, int width, Slant slant): fontStyle_( in TexgineFontStyle() 27 std::make_shared<RSFontStyle>(weight, width, static_cast<RSFontStyle::Slant>(slant))) in TexgineFontStyle()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyle_fuzzer/ |
H A D | fontstyle_fuzzer.cpp | 47 FontStyle fontStyleTwo = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontStyleFuzzTest() 48 FontStyle fontStyleThree = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontStyleFuzzTest()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_builder_impl.cpp | 37 RSFontStyle::Slant ConvertToRSFontSlant(FontStyle fontStyle) in ConvertToRSFontSlant() 39 RSFontStyle::Slant slant; in ConvertToRSFontSlant() 42 slant = RSFontStyle::Slant::UPRIGHT_SLANT; in ConvertToRSFontSlant() 46 slant = RSFontStyle::Slant::ITALIC_SLANT; in ConvertToRSFontSlant() 50 slant = RSFontStyle::Slant::OBLIQUE_SLANT; in ConvertToRSFontSlant() 54 slant = RSFontStyle::Slant::UPRIGHT_SLANT; in ConvertToRSFontSlant()
|
H A D | paragraph_impl.cpp | 45 FontStyle GetTxtFontStyle(RSFontStyle::Slant slant) in GetTxtFontStyle() 47 return slant == RSFontStyle::Slant::UPRIGHT_SLANT ? in GetTxtFontStyle()
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/ |
H A D | paragraph_builder_test.cpp | 158 EXPECT_EQ(paragraphBuilder_->builder_->peekStyle().fFontStyle.GetSlant(), RSFontStyle::Slant::ITALIC_SLANT); in HWTEST_F() 172 EXPECT_EQ(paragraphBuilder_->builder_->peekStyle().fFontStyle.GetSlant(), RSFontStyle::Slant::OBLIQUE_SLANT); in HWTEST_F() 187 EXPECT_EQ(paragraphBuilder_->builder_->peekStyle().fFontStyle.GetSlant(), RSFontStyle::Slant::UPRIGHT_SLANT); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_font_mgr.cpp | 169 familyName, FontStyle(fontStyle.weight, fontStyle.width, static_cast<FontStyle::Slant>(fontStyle.slant)));
in OH_Drawing_FontMgrMatchFamilyStyle() 191 FontStyle(fontStyle.weight, fontStyle.width, static_cast<FontStyle::Slant>(fontStyle.slant)), bcp47, bcp47Count,
in OH_Drawing_FontMgrMatchFamilyStyleCharacter() 276 FontStyle(fontStyleStruct.weight, fontStyleStruct.width, static_cast<FontStyle::Slant>(fontStyleStruct.slant)));
in OH_Drawing_FontStyleSetMatchStyle()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_convert_utils.h | 112 static_cast<SkFontStyle::Slant>(fontStyle.GetSlant())}; in DrawingFontStyleCastToSkFontStyle() 118 static_cast<FontStyle::Slant>(skFontStyle.slant())}; in SkFontStyleCastToDrawingFontStyle()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyleset_fuzzer/ |
H A D | fontstyleset_fuzzer.cpp | 77 FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontStyleSetFuzzTest002()
|
/foundation/graphic/graphic_3d/lume/LumeFont/api/ |
H A D | intf_font.h | 70 uint64_t Slant : 7; member
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontmgr_fuzzer/ |
H A D | fontmgr_fuzzer.cpp | 264 FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontMgrFuzzTest006() 329 FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontMgrFuzzTest008()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/ |
H A D | typeface_fuzzer.cpp | 171 FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in TypefaceFuzzTest005()
|