Index: src/utils/SkPaintFilterCanvas.cpp |
diff --git a/src/utils/SkPaintFilterCanvas.cpp b/src/utils/SkPaintFilterCanvas.cpp |
index 75a79305003a2ec5ab11de63ff4b7368c4d621f8..15d76d6127087e25b06b148d5ea12700a5812d68 100644 |
--- a/src/utils/SkPaintFilterCanvas.cpp |
+++ b/src/utils/SkPaintFilterCanvas.cpp |
@@ -87,6 +87,14 @@ void SkPaintFilterCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { |
} |
} |
+void SkPaintFilterCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, |
+ bool useCenter, const SkPaint& paint) { |
+ AutoPaintFilter apf(this, kArc_Type, paint); |
+ if (apf.shouldDraw()) { |
+ this->INHERITED::onDrawArc(rect, startAngle, sweepAngle, useCenter, *apf.paint()); |
+ } |
+} |
+ |
void SkPaintFilterCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { |
AutoPaintFilter apf(this, kPath_Type, paint); |
if (apf.shouldDraw()) { |