Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index dcfc0fbf900cfa9a7f3db184043362f8c7e1cba7..cae202890548ad1b9797cb5b6e2e19bc3b6e4709 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -95,6 +95,7 @@ DRAW(TranslateZ, SkCanvas::translateZ(r.z)); |
template <> void Draw::draw(const TranslateZ& r) { } |
#endif |
+DRAW(DrawArc, drawArc(r.oval, r.startAngle, r.sweepAngle, r.useCenter, r.paint)); |
DRAW(DrawDRRect, drawDRRect(r.outer, r.inner, r.paint)); |
DRAW(DrawImage, drawImage(r.image.get(), r.left, r.top, r.paint)); |
@@ -410,6 +411,8 @@ private: |
Bounds bounds(const DrawRect& op) const { return this->adjustAndMap(op.rect, &op.paint); } |
Bounds bounds(const DrawOval& op) const { return this->adjustAndMap(op.oval, &op.paint); } |
+ // Tighter arc bounds? |
+ Bounds bounds(const DrawArc& op) const { return this->adjustAndMap(op.oval, &op.paint); } |
Bounds bounds(const DrawRRect& op) const { |
return this->adjustAndMap(op.rrect.rect(), &op.paint); |
} |