Lines Matching refs:paint
21 SkPaint paint;
23 paint.setAntiAlias(fAntiAlias);
24 paint.setBlendMode(fBlendMode);
25 paint.setStyle(fStyle);
26 paint.setStrokeWidth(fStrokeWidth);
27 paint.setStrokeMiter(fStrokeMiter);
28 paint.setStrokeJoin(fStrokeJoin);
29 paint.setStrokeCap(fStrokeCap);
31 this->onApplyToPaint(&paint);
34 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1)));
36 return paint;
51 void Color::onApplyToPaint(SkPaint* paint) const {
52 paint->setColor(fColor);
75 void ShaderPaint::onApplyToPaint(SkPaint* paint) const {
76 paint->setShader(fShader->getShader());