Index: samplecode/SampleCircle.cpp |
diff --git a/samplecode/SampleCircle.cpp b/samplecode/SampleCircle.cpp |
index 9cc927e47d3c153a766f0dc31da60b291bb9430c..b101a1f25739aa1296d18f5c2e9e65abc520e7b7 100644 |
--- a/samplecode/SampleCircle.cpp |
+++ b/samplecode/SampleCircle.cpp |
@@ -71,6 +71,12 @@ |
} |
} |
+ static void blowup(SkCanvas* canvas, const SkIRect& src, const SkRect& dst) { |
+ SkBaseDevice* device = canvas->getDevice(); |
+ const SkBitmap& bm = device->accessBitmap(false); |
+ canvas->drawBitmapRect(bm, &src, dst, NULL); |
+ } |
+ |
static void make_poly(SkPath* path, int n) { |
if (n <= 0) { |
return; |