Lines Matching refs:slant
361 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern() local
363 case FC_SLANT_ROMAN: slant = SkFS::kUpright_Slant; break; in skfontstyle_from_fcpattern()
364 case FC_SLANT_ITALIC : slant = SkFS::kItalic_Slant ; break; in skfontstyle_from_fcpattern()
365 case FC_SLANT_OBLIQUE: slant = SkFS::kOblique_Slant; break; in skfontstyle_from_fcpattern()
369 return SkFontStyle(SkScalarRoundToInt(weight), SkScalarRoundToInt(width), slant); in skfontstyle_from_fcpattern()
407 int slant = FC_SLANT_ROMAN; in fcpattern_from_skfontstyle() local
408 switch (style.slant()) { in fcpattern_from_skfontstyle()
409 case SkFS::kUpright_Slant: slant = FC_SLANT_ROMAN ; break; in fcpattern_from_skfontstyle()
410 case SkFS::kItalic_Slant : slant = FC_SLANT_ITALIC ; break; in fcpattern_from_skfontstyle()
411 case SkFS::kOblique_Slant: slant = FC_SLANT_OBLIQUE; break; in fcpattern_from_skfontstyle()
417 FcPatternAddInteger(pattern, FC_SLANT , slant); in fcpattern_from_skfontstyle()