/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyle_fuzzer/ |
H A D | fontstyle_fuzzer.cpp | 46 uint32_t slant = GetObject<uint32_t>(); in FontStyleFuzzTest() local 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/texgine/texgine_drawing/src/ |
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() 25 TexgineFontStyle( int weight, int width, Slant slant) TexgineFontStyle() argument
|
H A D | texgine_font_style.h | 36 TexgineFontStyle(int weight, int width, Slant slant);
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_font_mgr_test.cpp | 111 normalStyle.slant = FONT_STYLE_NORMAL;
in HWTEST_F() 133 normalStyle.slant = FONT_STYLE_NORMAL;
in HWTEST_F() 177 normalStyle.slant = FONT_STYLE_NORMAL;
in HWTEST_F() 193 normalStyle.slant = FONT_STYLE_NORMAL;
in HWTEST_F() 249 normalStyle.slant = FONT_STYLE_NORMAL;
in HWTEST_F()
|
H A D | drawing_text_typography_test.cpp | 1989 normalStyle.slant = FONT_STYLE_NORMAL; in HWTEST_F() 1995 EXPECT_EQ(style.slant, normalStyle.slant); in HWTEST_F() 2011 normalStyle.slant = FONT_STYLE_NORMAL; in HWTEST_F() 2017 EXPECT_EQ(style.slant, normalStyle.slant); in HWTEST_F() 2336 normalStyle.slant = FONT_STYLE_ITALIC; in HWTEST_F() 2342 EXPECT_EQ(style.slant, FONT_STYLE_ITALIC); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | font_style.h | 70 constexpr FontStyle(int weight, int width, Slant slant) : fValue( in FontStyle() argument 73 (TPin<int>(slant, UPRIGHT_SLANT, OBLIQUE_SLANT) << BIT24)) {} in FontStyle()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_builder_impl.cpp | 39 RSFontStyle::Slant slant; in ConvertToRSFontSlant() local 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() 57 return slant; in ConvertToRSFontSlant() 64 auto slant = ConvertToRSFontSlant(fontStyle); in MakeFontStyle() local 65 return RSFontStyle(weight, width, slant); in MakeFontStyle()
|
H A D | paragraph_impl.cpp | 45 FontStyle GetTxtFontStyle(RSFontStyle::Slant slant) in GetTxtFontStyle() argument 47 return slant == RSFontStyle::Slant::UPRIGHT_SLANT ? in GetTxtFontStyle()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyleset_fuzzer/ |
H A D | fontstyleset_fuzzer.cpp | 76 uint32_t slant = GetObject<uint32_t>(); in FontStyleSetFuzzTest002() local 77 FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontStyleSetFuzzTest002()
|
/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() 223 fontStyleStruct.slant = FONT_STYLE_NORMAL;
in OH_Drawing_FontStyleSetGetStyle() 252 fontStyleStruct.slant = static_cast<OH_Drawing_FontStyle>(tempFontStyle.GetSlant());
in OH_Drawing_FontStyleSetGetStyle() 276 FontStyle(fontStyleStruct.weight, fontStyleStruct.width, static_cast<FontStyle::Slant>(fontStyleStruct.slant)));
in OH_Drawing_FontStyleSetMatchStyle()
|
H A D | drawing_text_typography.cpp | 3336 style->fontStyle = GetFontStyle(fontStyle.slant); in OH_Drawing_SetTextStyleFontStyleStruct() 3346 fontStyle.slant = FONT_STYLE_NORMAL; in OH_Drawing_TextStyleGetFontStyleStruct() 3351 fontStyle.slant = static_cast<OH_Drawing_FontStyle>(style->fontStyle); in OH_Drawing_TextStyleGetFontStyleStruct() 3364 style->fontStyle = GetFontStyle(fontStyle.slant); in OH_Drawing_SetTypographyStyleFontStyleStruct() 3374 fontStyle.slant = FONT_STYLE_NORMAL; in OH_Drawing_TypographyStyleGetFontStyleStruct() 3379 fontStyle.slant = static_cast<OH_Drawing_FontStyle>(style->fontStyle); in OH_Drawing_TypographyStyleGetFontStyleStruct()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontmgr_fuzzer/ |
H A D | fontmgr_fuzzer.cpp | 263 uint32_t slant = GetObject<uint32_t>(); in FontMgrFuzzTest006() local 264 FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in FontMgrFuzzTest006() 328 uint32_t slant = GetObject<uint32_t>(); in FontMgrFuzzTest008() local 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 | 170 uint32_t slant = GetObject<uint32_t>(); in TypefaceFuzzTest005() local 171 FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in TypefaceFuzzTest005()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_convert_utils.h | 118 static_cast<FontStyle::Slant>(skFontStyle.slant())}; in SkFontStyleCastToDrawingFontStyle()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_text_typography.h | 575 /** Font slant */ 576 OH_Drawing_FontStyle slant; member 2590 * @brief Sets the text style, including font weight, font width and font slant. 2602 * @brief Gets the text style, including font weight, font width and font slant. 2613 * @brief Sets the typography style, including font weight, font width and font slant. 2625 * @brief Gets the typography style, including font weight, font width and font slant.
|