Lines Matching refs:SkPaint
18 fCap = SkPaint::kDefault_Cap; in SkStrokeRec()
19 fJoin = SkPaint::kDefault_Join; in SkStrokeRec()
23 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) { in SkStrokeRec()
27 SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) { in SkStrokeRec()
31 void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) { in init()
35 case SkPaint::kFill_Style: in init()
39 case SkPaint::kStroke_Style: in init()
43 case SkPaint::kStrokeAndFill_Style: in init()
111 stroker.setCap((SkPaint::Cap)fCap); in applyToPath()
112 stroker.setJoin((SkPaint::Join)fJoin); in applyToPath()
125 void SkStrokeRec::applyToPaint(SkPaint* paint) const { in applyToPaint()
127 paint->setStyle(SkPaint::kFill_Style); in applyToPaint()
131 paint->setStyle(fStrokeAndFill ? SkPaint::kStrokeAndFill_Style : SkPaint::kStroke_Style); in applyToPaint()
134 paint->setStrokeCap((SkPaint::Cap)fCap); in applyToPaint()
135 paint->setStrokeJoin((SkPaint::Join)fJoin); in applyToPaint()