Lines Matching refs:slant
340 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern() local
342 case FC_SLANT_ROMAN: slant = SkFS::kUpright_Slant; break; in skfontstyle_from_fcpattern()
343 case FC_SLANT_ITALIC : slant = SkFS::kItalic_Slant ; break; in skfontstyle_from_fcpattern()
344 case FC_SLANT_OBLIQUE: slant = SkFS::kOblique_Slant; break; in skfontstyle_from_fcpattern()
348 return SkFontStyle(SkScalarRoundToInt(weight), SkScalarRoundToInt(width), slant); in skfontstyle_from_fcpattern()
386 int slant = FC_SLANT_ROMAN; in fcpattern_from_skfontstyle() local
387 switch (style.slant()) { in fcpattern_from_skfontstyle()
388 case SkFS::kUpright_Slant: slant = FC_SLANT_ROMAN ; break; in fcpattern_from_skfontstyle()
389 case SkFS::kItalic_Slant : slant = FC_SLANT_ITALIC ; break; in fcpattern_from_skfontstyle()
390 case SkFS::kOblique_Slant: slant = FC_SLANT_OBLIQUE; break; in fcpattern_from_skfontstyle()
396 FcPatternAddInteger(pattern, FC_SLANT , slant); in fcpattern_from_skfontstyle()