Lines Matching refs:slant
364 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern() local
366 case FC_SLANT_ROMAN: slant = SkFS::kUpright_Slant; break; in skfontstyle_from_fcpattern()
367 case FC_SLANT_ITALIC : slant = SkFS::kItalic_Slant ; break; in skfontstyle_from_fcpattern()
368 case FC_SLANT_OBLIQUE: slant = SkFS::kOblique_Slant; break; in skfontstyle_from_fcpattern()
372 return SkFontStyle(SkScalarRoundToInt(weight), SkScalarRoundToInt(width), slant); in skfontstyle_from_fcpattern()
410 int slant = FC_SLANT_ROMAN; in fcpattern_from_skfontstyle() local
411 switch (style.slant()) { in fcpattern_from_skfontstyle()
412 case SkFS::kUpright_Slant: slant = FC_SLANT_ROMAN ; break; in fcpattern_from_skfontstyle()
413 case SkFS::kItalic_Slant : slant = FC_SLANT_ITALIC ; break; in fcpattern_from_skfontstyle()
414 case SkFS::kOblique_Slant: slant = FC_SLANT_OBLIQUE; break; in fcpattern_from_skfontstyle()
420 FcPatternAddInteger(pattern, FC_SLANT , slant); in fcpattern_from_skfontstyle()