Lines Matching refs:slant
91 buffer.write8(fStyle.slant()); in writeToMemory()
112 SkFontStyle::Slant slant = (SkFontStyle::Slant)u8; in readFromMemory() local
113 fStyle = SkFontStyle(weight, width, slant); in readFromMemory()
445 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern() local
447 case FC_SLANT_ROMAN: slant = SkFS::kUpright_Slant; break; in skfontstyle_from_fcpattern()
448 case FC_SLANT_ITALIC : slant = SkFS::kItalic_Slant ; break; in skfontstyle_from_fcpattern()
449 case FC_SLANT_OBLIQUE: slant = SkFS::kOblique_Slant; break; in skfontstyle_from_fcpattern()
453 return SkFontStyle(SkScalarRoundToInt(weight), SkScalarRoundToInt(width), slant); in skfontstyle_from_fcpattern()
488 int slant = FC_SLANT_ROMAN; in fcpattern_from_skfontstyle() local
489 switch (style.slant()) { in fcpattern_from_skfontstyle()
490 case SkFS::kUpright_Slant: slant = FC_SLANT_ROMAN ; break; in fcpattern_from_skfontstyle()
491 case SkFS::kItalic_Slant : slant = FC_SLANT_ITALIC ; break; in fcpattern_from_skfontstyle()
492 case SkFS::kOblique_Slant: slant = FC_SLANT_OBLIQUE; break; in fcpattern_from_skfontstyle()
498 FcPatternAddInteger(pattern, FC_SLANT , slant); in fcpattern_from_skfontstyle()