Home
last modified time | relevance | path

Searched refs:kUpright_Slant (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/tools/fonts/
Dtest_font_index.inc13 … LiberationMonoNormalMetrics, "Toy Liberation Mono", SkFontStyle(400,5,SkFontStyle::kUpright_Slant)
17 … LiberationMonoBoldMetrics, "Toy Liberation Mono", SkFontStyle(700,5,SkFontStyle::kUpright_Slant)
29 … LiberationSansNormalMetrics, "Toy Liberation Sans", SkFontStyle(400,5,SkFontStyle::kUpright_Slant)
33 … LiberationSansBoldMetrics, "Toy Liberation Sans", SkFontStyle(700,5,SkFontStyle::kUpright_Slant)
45 …iberationSerifNormalMetrics, "Toy Liberation Serif", SkFontStyle(400,5,SkFontStyle::kUpright_Slant)
49 … LiberationSerifBoldMetrics, "Toy Liberation Serif", SkFontStyle(700,5,SkFontStyle::kUpright_Slant)
70 …{ "monospace", "Normal", SkFontStyle(400,5,SkFontStyle::kUpright_Slant), gTestFonts[0], "Liberatio…
71 …{ "monospace", "Bold", SkFontStyle(700,5,SkFontStyle::kUpright_Slant), gTestFonts[1], "LiberationM…
74 …{ "sans-serif", "Normal", SkFontStyle(400,5,SkFontStyle::kUpright_Slant), gTestFonts[4], "Liberati…
75 …{ "sans-serif", "Bold", SkFontStyle(700,5,SkFontStyle::kUpright_Slant), gTestFonts[5], "Liberation…
[all …]
Dcreate_test_font.cpp307 case SkFontStyle::kUpright_Slant: return "SkFontStyle::kUpright_Slant"; in slant_to_string()
/third_party/skia/include/core/
DSkFontStyle.h43 kUpright_Slant, enumerator
51 (SkTPin<int>(slant, kUpright_Slant, kOblique_Slant) << 24) in SkFontStyle()
54 constexpr SkFontStyle() : SkFontStyle{kNormal_Weight, kNormal_Width, kUpright_Slant} { } in SkFontStyle()
65 return SkFontStyle(kNormal_Weight, kNormal_Width, kUpright_Slant); in Normal()
68 return SkFontStyle(kBold_Weight, kNormal_Width, kUpright_Slant); in Bold()
DSkTypeface.h56 bool isItalic() const { return fStyle.slant() != SkFontStyle::kUpright_Slant; } in isItalic()
/third_party/skia/modules/skottie/tests/
DText.cpp119 { "f1" , SkFontStyle::kNormal_Weight , SkFontStyle::kUpright_Slant }, in DEF_TEST()
120 { "f2" , SkFontStyle::kMedium_Weight , SkFontStyle::kUpright_Slant }, in DEF_TEST()
121 { "f3" , SkFontStyle::kBold_Weight , SkFontStyle::kUpright_Slant }, in DEF_TEST()
122 { "f4" , SkFontStyle::kLight_Weight , SkFontStyle::kUpright_Slant }, in DEF_TEST()
123 { "f5" , SkFontStyle::kExtraBold_Weight, SkFontStyle::kUpright_Slant }, in DEF_TEST()
124 { "f6" , SkFontStyle::kExtraBold_Weight, SkFontStyle::kUpright_Slant }, in DEF_TEST()
135 { "f15", SkFontStyle::kNormal_Weight , SkFontStyle::kUpright_Slant }, in DEF_TEST()
/third_party/skia/tests/
DFontMgrTest.cpp124 …c const SkFontStyle invalidFontStyle(101, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
203 …normal_100(SkFontStyle::kThin_Weight, SkFontStyle::kCondensed_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
204 …normal_900(SkFontStyle::kBlack_Weight, SkFontStyle::kCondensed_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
209 …normal_100(SkFontStyle::kThin_Weight, SkFontStyle::kExpanded_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
210 …normal_900(SkFontStyle::kBlack_Weight, SkFontStyle::kExpanded_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
216 …rmal_100(SkFontStyle::kThin_Weight, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
217 …rmal_300(SkFontStyle::kLight_Weight, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
218 …rmal_400(SkFontStyle::kNormal_Weight, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
219 …rmal_500(SkFontStyle::kMedium_Weight, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
220 …rmal_600(SkFontStyle::kSemiBold_Weight, SkFontStyle::kNormal_Width, SkFontStyle::kUpright_Slant); in DEF_TEST()
[all …]
/third_party/skia/src/ports/
DSkTypeface_win_dw.h30 SkFontStyle::Slant slant = SkFontStyle::kUpright_Slant; in get_style()
32 case DWRITE_FONT_STYLE_NORMAL: slant = SkFontStyle::kUpright_Slant; break; in get_style()
DSkFontConfigInterface_direct.cpp430 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern()
432 case FC_SLANT_ROMAN: slant = SkFS::kUpright_Slant; break; in skfontstyle_from_fcpattern()
475 case SkFS::kUpright_Slant: slant = FC_SLANT_ROMAN ; break; in fcpattern_from_skfontstyle()
DSkFontMgr_mac_ct.cpp119 if (style.slant() != SkFontStyle::kUpright_Slant) { in create_descriptor()
146 CGFloat ctSlant = style.slant() == SkFontStyle::kUpright_Slant ? 0 : 1; in create_descriptor()
181 if (style.slant() != SkFontStyle::kUpright_Slant) { in create_from_desc_and_style()
DSkFontMgr_fontconfig.cpp340 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern()
342 case FC_SLANT_ROMAN: slant = SkFS::kUpright_Slant; break; in skfontstyle_from_fcpattern()
388 case SkFS::kUpright_Slant: slant = FC_SLANT_ROMAN ; break; in fcpattern_from_skfontstyle()
DSkFontMgr_fuchsia.cpp61 case SkFontStyle::kUpright_Slant: in SkToFuchsiaSlant()
75 return SkFontStyle::kUpright_Slant; in FuchsiaToSkSlant()
DSkFontMgr_custom.cpp175 SkFontStyle::kUpright_Slant))); in SkFontMgr_Custom()
DSkFontMgr_preview.h221 slant = SkFontStyle::kUpright_Slant; in SkFontStyleSet_Preview()
/third_party/skia/docs/examples/
DSkFontMgr_example.cpp7 case SkFontStyle::kUpright_Slant: return "SkFontStyle::kUpright_Slant"; in tostr()
DSkFontMgr_example2.cpp7 case SkFontStyle::kUpright_Slant: return "SkFontStyle::kUpright_Slant"; in tostr()
/third_party/skia/src/utils/win/
DSkDWrite.h88 case SkFontStyle::kUpright_Slant: fSlant = DWRITE_FONT_STYLE_NORMAL ; break; in DWriteStyle()
/third_party/skia/gm/
Drsxtext.cpp32 SkFontStyle::kUpright_Slant); in onOnceBeforeDraw()
Dfontmgr.cpp158 SkFontStyle fs(weight, width, SkFontStyle::kUpright_Slant); in exploreFamily()
/third_party/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp32 .value("Upright", SkFontStyle::Slant::kUpright_Slant) in EMSCRIPTEN_BINDINGS()
/third_party/skia/src/core/
DSkTypeface.cpp153 : SkFontStyle::kUpright_Slant); in FromOldStyle()
189 fontStyle.slant() == SkFontStyle::kUpright_Slant) && in MakeFromName()
DSkFontMgr.cpp233 static_assert(SkFontStyle::kUpright_Slant == 0 && in matchStyleCSS3()
/third_party/skia/modules/svg/src/
DSkSVGText.cpp55 case SkSVGFontStyle::Type::kNormal: return SkFontStyle::kUpright_Slant; in ResolveFont()
60 return SkFontStyle::kUpright_Slant; in ResolveFont()
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp84 auto slant = SkFontStyle::kUpright_Slant; in FontStyle()
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp1098 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
1244 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
2308 style.getFontStyle().slant() == SkFontStyle::kUpright_Slant); in UNIX_ONLY_TEST()
2317 style.getFontStyle().slant() == SkFontStyle::kUpright_Slant); in UNIX_ONLY_TEST()
2584 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
2650 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
2753 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
2821 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
2943 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
3065 SkFontStyle::kUpright_Slant)); in UNIX_ONLY_TEST()
[all …]
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp118 : SkFontStyle::Slant::kUpright_Slant); in drawTest()
279 SkFontStyle::kUpright_Slant)); in drawText()
715 SkFontStyle::kUpright_Slant)); in bidi()
993 SkFontStyle::kUpright_Slant)); in drawText()
1063 SkFontStyle::kUpright_Slant)); in drawText()
1158 SkFontStyle::kUpright_Slant)); in drawText()

12