Lines Matching refs:slant
88 buffer.write8(fStyle.slant()); in writeToMemory()
109 SkFontStyle::Slant slant = (SkFontStyle::Slant)u8; in readFromMemory() local
110 fStyle = SkFontStyle(weight, width, slant); in readFromMemory()
442 SkFS::Slant slant = SkFS::kUpright_Slant; in skfontstyle_from_fcpattern() local
444 case FC_SLANT_ROMAN: slant = SkFS::kUpright_Slant; break; in skfontstyle_from_fcpattern()
445 case FC_SLANT_ITALIC : slant = SkFS::kItalic_Slant ; break; in skfontstyle_from_fcpattern()
446 case FC_SLANT_OBLIQUE: slant = SkFS::kOblique_Slant; break; in skfontstyle_from_fcpattern()
450 return SkFontStyle(SkScalarRoundToInt(weight), SkScalarRoundToInt(width), slant); in skfontstyle_from_fcpattern()
485 int slant = FC_SLANT_ROMAN; in fcpattern_from_skfontstyle() local
486 switch (style.slant()) { in fcpattern_from_skfontstyle()
487 case SkFS::kUpright_Slant: slant = FC_SLANT_ROMAN ; break; in fcpattern_from_skfontstyle()
488 case SkFS::kItalic_Slant : slant = FC_SLANT_ITALIC ; break; in fcpattern_from_skfontstyle()
489 case SkFS::kOblique_Slant: slant = FC_SLANT_OBLIQUE; break; in fcpattern_from_skfontstyle()
495 FcPatternAddInteger(pattern, FC_SLANT , slant); in fcpattern_from_skfontstyle()