Lines Matching refs:style
4 * Use of this source code is governed by a BSD-style license that can be
331 SkPaint::Style style = paint.getStyle();
332 if (style == SkPaint::kFill_Style || style == SkPaint::kStrokeAndFill_Style) {
342 SkASSERT(style == SkPaint::kStroke_Style);
350 if (style == SkPaint::kStroke_Style || style == SkPaint::kStrokeAndFill_Style) {
377 SkASSERT(style == SkPaint::kFill_Style);
646 SkFontStyle style = tface->fontStyle();
647 if (style.slant() == SkFontStyle::kItalic_Slant) {
648 this->addAttribute("font-style", "italic");
649 } else if (style.slant() == SkFontStyle::kOblique_Slant) {
650 this->addAttribute("font-style", "oblique");
652 int weightIndex = (SkTPin(style.weight(), 100, 900) - 50) / 100;
659 int stretchIndex = style.width() - 1;