Index: src/utils/SkDumpCanvas.cpp |
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp |
index 5166640ca66380eeaa06d4026d85ca98552a419c..ca18864b7bf8b5469b2072909f1a860ae8a856f7 100644 |
--- a/src/utils/SkDumpCanvas.cpp |
+++ b/src/utils/SkDumpCanvas.cpp |
@@ -308,6 +308,14 @@ void SkDumpCanvas::onDrawOval(const SkRect& rect, const SkPaint& paint) { |
this->dump(kDrawOval_Verb, &paint, "drawOval(%s)", str.c_str()); |
} |
+void SkDumpCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, |
+ bool useCenter, const SkPaint& paint) { |
+ SkString str; |
+ toString(rect, &str); |
+ this->dump(kDrawArc_Verb, &paint, "drawArc(%s, %g, %g, %d)", str.c_str(), startAngle, |
+ sweepAngle, useCenter); |
+} |
+ |
void SkDumpCanvas::onDrawRect(const SkRect& rect, const SkPaint& paint) { |
SkString str; |
toString(rect, &str); |