Home
last modified time | relevance | path

Searched refs:slant (Results 1 - 15 of 15) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontstyle_fuzzer/
H A Dfontstyle_fuzzer.cpp46 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 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()
25 TexgineFontStyle( int weight, int width, Slant slant) TexgineFontStyle() argument
H A Dtexgine_font_style.h36 TexgineFontStyle(int weight, int width, Slant slant);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_font_mgr_test.cpp111 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 Ddrawing_text_typography_test.cpp1989 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 Dfont_style.h70 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 Dparagraph_builder_impl.cpp39 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 Dparagraph_impl.cpp45 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 Dfontstyleset_fuzzer.cpp76 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 Ddrawing_font_mgr.cpp169 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 Ddrawing_text_typography.cpp3336 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 Dfontmgr_fuzzer.cpp263 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 Dtypeface_fuzzer.cpp170 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 Dskia_convert_utils.h118 static_cast<FontStyle::Slant>(skFontStyle.slant())}; in SkFontStyleCastToDrawingFontStyle()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/
H A Ddrawing_text_typography.h575 /** 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.

Completed in 18 milliseconds