Lines Matching refs:origPaint
42 const SkPaint& origPaint, const SkBitmap& bitmap, SkMatrix* matrix = nullptr) { in make_paint_with_image() argument
43 SkPaint paint(origPaint); in make_paint_with_image()
1055 void SkDraw::drawPath(const SkPath& origSrcPath, const SkPaint& origPaint, in drawPath() argument
1081 if (origPaint.getPathEffect() || origPaint.getStyle() != SkPaint::kFill_Style) { in drawPath()
1098 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawPath()
1102 if (SkDrawTreatAsHairline(origPaint, *matrix, &coverage)) { in drawPath()
1105 } else if (SkBlendMode_SupportsCoverageAsAlpha(origPaint.getBlendMode())) { in drawPath()
1109 origPaint.getAlpha())); in drawPath()
1115 newAlpha = origPaint.getAlpha() * scale >> 8; in drawPath()
1242 const SkRect* dstBounds, const SkPaint& origPaint) const { in drawBitmap()
1252 SkTCopyOnFirstWrite<SkPaint> paint(origPaint); in drawBitmap()
1253 if (origPaint.getStyle() != SkPaint::kFill_Style) { in drawBitmap()
1307 void SkDraw::drawSprite(const SkBitmap& bitmap, int x, int y, const SkPaint& origPaint) const { in drawSprite()
1323 SkPaint paint(origPaint); in drawSprite()
1569 const SkPaint& origPaint, const SkSurfaceProps* props) const { in drawPosText_asPaths() argument
1571 SkPaint paint(origPaint); in drawPosText_asPaths()
1591 paint.setStyle(origPaint.getStyle()); in drawPosText_asPaths()
1592 paint.setPathEffect(origPaint.refPathEffect()); in drawPosText_asPaths()