Home
last modified time | relevance | path

Searched refs:Slant (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/
H A Dfont_style.h64 enum Slant { enum
70 constexpr FontStyle(int weight, int width, Slant slant) : fValue( in FontStyle()
84 Slant GetSlant() const { return (Slant)((fValue >> BIT24) & 0xFF); } in GetSlant()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_font_style.h28 enum class Slant { enum
36 TexgineFontStyle(int weight, int width, Slant slant);
H A Dtexgine_font_style.cpp26 int weight, int width, Slant slant): fontStyle_( in TexgineFontStyle()
27 std::make_shared<RSFontStyle>(weight, width, static_cast<RSFontStyle::Slant>(slant))) in TexgineFontStyle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Dparagraph_builder_impl.cpp36 RSFontStyle::Slant ConvertToRSFontSlant(FontStyle fontStyle) in ConvertToRSFontSlant()
38 RSFontStyle::Slant slant; in ConvertToRSFontSlant()
41 slant = RSFontStyle::Slant::UPRIGHT_SLANT; in ConvertToRSFontSlant()
45 slant = RSFontStyle::Slant::ITALIC_SLANT; in ConvertToRSFontSlant()
49 slant = RSFontStyle::Slant::OBLIQUE_SLANT; in ConvertToRSFontSlant()
53 slant = RSFontStyle::Slant::UPRIGHT_SLANT; in ConvertToRSFontSlant()
H A Dparagraph_impl.cpp46 FontStyle GetTxtFontStyle(RSFontStyle::Slant slant) in GetTxtFontStyle()
48 return slant == RSFontStyle::Slant::UPRIGHT_SLANT ? in GetTxtFontStyle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyle_fuzzer/
H A Dfontstyle_fuzzer.cpp47 …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_SI… in FontStyleFuzzTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_font_mgr.cpp169 …familyName, FontStyle(fontStyle.weight, fontStyle.width, static_cast<FontStyle::Slant>(fontStyle.s… in OH_Drawing_FontMgrMatchFamilyStyle()
188 …FontStyle(fontStyle.weight, fontStyle.width, static_cast<FontStyle::Slant>(fontStyle.slant)), bcp4… in OH_Drawing_FontMgrMatchFamilyStyleCharacter()
273 …FontStyle(fontStyleStruct.weight, fontStyleStruct.width, static_cast<FontStyle::Slant>(fontStyleSt… in OH_Drawing_FontStyleSetMatchStyle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_convert_utils.h112 static_cast<SkFontStyle::Slant>(fontStyle.GetSlant())}; in DrawingFontStyleCastToSkFontStyle()
118 static_cast<FontStyle::Slant>(skFontStyle.slant())}; in SkFontStyleCastToDrawingFontStyle()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyleset_fuzzer/
H A Dfontstyleset_fuzzer.cpp77 … FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontStyleSetFuzzTest002()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontmgr_fuzzer/
H A Dfontmgr_fuzzer.cpp264 … 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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/
H A Dtypeface_fuzzer.cpp173 … FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in TypefaceFuzzTest005()