Lines Matching defs:paint
201 SkPaint paint;
203 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getFillAlpha()));
205 paint.setShader(newShader);
208 paint.setColor(applyAlpha(properties.getFillColor(), properties.getFillAlpha()));
213 paint.setStyle(SkPaint::Style::kFill_Style);
214 paint.setAntiAlias(true);
217 outCanvas->drawPath(renderPath, paint);
223 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getStrokeAlpha()));
225 paint.setShader(newShader);
228 paint.setColor(applyAlpha(properties.getStrokeColor(), properties.getStrokeAlpha()));
232 paint.setStyle(SkPaint::Style::kStroke_Style);
233 paint.setAntiAlias(true);
234 paint.setStrokeJoin(SkPaint::Join(properties.getStrokeLineJoin()));
235 paint.setStrokeCap(SkPaint::Cap(properties.getStrokeLineCap()));
236 paint.setStrokeMiter(properties.getStrokeMiterLimit());
237 paint.setStrokeWidth(properties.getStrokeWidth() * strokeScale);
238 outCanvas->drawPath(renderPath, paint);
516 SkPaint* paint = updatePaint(&tmpPaint, &mStagingProperties);
520 mStagingProperties.getBounds().right(), mStagingProperties.getBounds().bottom(), paint);
527 // Update the given paint with alpha and color filter. Return nullptr if no color filter is
528 // specified and root alpha is 1. Otherwise, return updated paint.