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 D | font_style.h | 64 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 D | texgine_font_style.h | 28 enum class Slant { enum 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_builder_impl.cpp | 36 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 D | paragraph_impl.cpp | 46 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 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_SI… in FontStyleFuzzTest()
|
/ohos5.0/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.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 D | skia_convert_utils.h | 112 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 D | fontstyleset_fuzzer.cpp | 77 … 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 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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/ |
H A D | typeface_fuzzer.cpp | 173 … FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in TypefaceFuzzTest005()
|