/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___font_style_struct.md | 22 | [OH_Drawing_FontStyle](_drawing.md#oh_drawing_fontstyle) [slant](#slant) | Font slant. | 28 ### slant subsection 31 OH_Drawing_FontStyle OH_Drawing_FontStyleStruct::slant 35 Font slant.
|
H A D | drawing__text__typography_8h.md | 211 …) fontStyle) | Sets the font style, including the font weight, width, and slant, for a text style.… 212 …extStyle) | Obtains the font style, including the font weight, width, and slant, of a text style. … 213 …) fontStyle) | Sets the font style, including the font weight, width, and slant, for a typography … 214 …ingStyle) | Obtains the font style, including the font weight, width, and slant, of a typography s…
|
H A D | _drawing.md | 8618 …___drawing___font_style_struct.md) | Font style, including the font weight, width, and slant. | 8645 …___drawing___font_style_struct.md) | Font style, including the font weight, width, and slant. | 8955 | fontStyleStruct | Font style, including the font weight, width, and slant. | 12756 Sets the font style, including the font weight, width, and slant, for a text style. 12767 …___drawing___font_style_struct.md) | Font style, including the font weight, width, and slant. | 12932 Sets the font style, including the font weight, width, and slant, for a typography style. 12943 …___drawing___font_style_struct.md) | Font style, including the font weight, width, and slant. | 14492 Obtains the font style, including the font weight, width, and slant, of a text style. 14506 Returns the font style, including the font weight, width, and slant. 16141 Obtains the font style, including the font weight, width, and slant, of a typography style. [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___font_style_struct.md | 22 | [OH_Drawing_FontStyle](_drawing.md#oh_drawing_fontstyle) [slant](#slant) | 字体斜体 | 28 ### slant subsection 31 OH_Drawing_FontStyle OH_Drawing_FontStyleStruct::slant
|
/ohos5.0/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_SI… in FontStyleFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_builder_impl.cpp | 38 RSFontStyle::Slant slant; in ConvertToRSFontSlant() local 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() 56 return slant; in ConvertToRSFontSlant() 63 auto slant = ConvertToRSFontSlant(fontStyle); in MakeFontStyle() local 64 return RSFontStyle(weight, width, slant); in MakeFontStyle()
|
H A D | paragraph_impl.cpp | 46 FontStyle GetTxtFontStyle(RSFontStyle::Slant slant) in GetTxtFontStyle() argument 48 return slant == RSFontStyle::Slant::UPRIGHT_SLANT ? in GetTxtFontStyle()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_font_mgr_test.cpp | 108 normalStyle.slant = FONT_STYLE_NORMAL; 130 normalStyle.slant = FONT_STYLE_NORMAL; 174 normalStyle.slant = FONT_STYLE_NORMAL; 190 normalStyle.slant = FONT_STYLE_NORMAL; 246 normalStyle.slant = FONT_STYLE_NORMAL;
|
H A D | drawing_text_typography_test.cpp | 2377 normalStyle.slant = FONT_STYLE_NORMAL; 2383 EXPECT_EQ(style.slant, normalStyle.slant); 2399 normalStyle.slant = FONT_STYLE_NORMAL; 2405 EXPECT_EQ(style.slant, normalStyle.slant); 2712 normalStyle.slant = FONT_STYLE_ITALIC; 2718 EXPECT_EQ(style.slant, FONT_STYLE_ITALIC);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_font_mgr.cpp | 169 …ame, FontStyle(fontStyle.weight, fontStyle.width, static_cast<FontStyle::Slant>(fontStyle.slant))); in OH_Drawing_FontMgrMatchFamilyStyle() 188 …FontStyle(fontStyle.weight, fontStyle.width, static_cast<FontStyle::Slant>(fontStyle.slant)), bcp4… in OH_Drawing_FontMgrMatchFamilyStyleCharacter() 220 fontStyleStruct.slant = FONT_STYLE_NORMAL; in OH_Drawing_FontStyleSetGetStyle() 249 fontStyleStruct.slant = static_cast<OH_Drawing_FontStyle>(tempFontStyle.GetSlant()); in OH_Drawing_FontStyleSetGetStyle() 273 …tStyleStruct.weight, fontStyleStruct.width, static_cast<FontStyle::Slant>(fontStyleStruct.slant))); in OH_Drawing_FontStyleSetMatchStyle()
|
H A D | drawing_text_typography.cpp | 3673 style->fontStyle = GetFontStyle(fontStyle.slant); in OH_Drawing_SetTextStyleFontStyleStruct() 3683 fontStyle.slant = FONT_STYLE_NORMAL; in OH_Drawing_TextStyleGetFontStyleStruct() 3688 fontStyle.slant = static_cast<OH_Drawing_FontStyle>(style->fontStyle); in OH_Drawing_TextStyleGetFontStyleStruct() 3701 style->fontStyle = GetFontStyle(fontStyle.slant); in OH_Drawing_SetTypographyStyleFontStyleStruct() 3711 fontStyle.slant = FONT_STYLE_NORMAL; in OH_Drawing_TypographyStyleGetFontStyleStruct() 3716 fontStyle.slant = static_cast<OH_Drawing_FontStyle>(style->fontStyle); in OH_Drawing_TypographyStyleGetFontStyleStruct()
|
/ohos5.0/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() argument 27 std::make_shared<RSFontStyle>(weight, width, static_cast<RSFontStyle::Slant>(slant))) in TexgineFontStyle()
|
H A D | texgine_font_style.h | 36 TexgineFontStyle(int weight, int width, Slant slant);
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/typeface_fuzzer/ |
H A D | typeface_fuzzer.cpp | 172 uint32_t slant = GetObject<uint32_t>(); in TypefaceFuzzTest005() local 173 … FontStyle fontStyle = FontStyle(weight, width, static_cast<FontStyle::Slant>(slant % SLANT_SIZE)); in TypefaceFuzzTest005()
|
/ohos5.0/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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/ |
H A D | drawing_text_typography.h | 576 OH_Drawing_FontStyle slant; member
|