Index: samplecode/SampleArc.cpp |
diff --git a/samplecode/SampleArc.cpp b/samplecode/SampleArc.cpp |
index c9310d6dd64b1fae55b1349bba10f102cd7489d4..a44eeb59ba1545cd30d5a2183355c48e71166e98 100644 |
--- a/samplecode/SampleArc.cpp |
+++ b/samplecode/SampleArc.cpp |
@@ -72,6 +72,12 @@ class ArcsView : public SampleView { |
paint.setColor(SK_ColorBLUE); |
canvas->drawArc(fR, 0, fSweep, false, paint); |
} |
+ |
+ SkRect onGetBounds() SK_OVERRIDE { |
+ SkRect r(fR); |
+ r.outset(2, 2); |
+ return r; |
+ } |
}; |
public: |