Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index d69e4afab2b6817c3642578247e609fbcf8f18ad..e6d3c4085663bba018ab0c9a518aeca711d07991 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -159,3 +159,16 @@ bool SkBaseDevice::readPixels(SkBitmap* bitmap, int x, int y, |
SkSurface* SkBaseDevice::newSurface(const SkImageInfo&) { return NULL; } |
const void* SkBaseDevice::peekPixels(SkImageInfo*, size_t*) { return NULL; } |
+ |
+void SkBaseDevice::drawDRRect(const SkDraw& draw, const SkRRect& outer, |
+ const SkRRect& inner, const SkPaint& paint) { |
+ SkPath path; |
+ path.addRRect(outer); |
+ path.addRRect(inner); |
+ path.setFillType(SkPath::kEvenOdd_FillType); |
+ |
+ const SkMatrix* preMatrix = NULL; |
+ const bool pathIsMutable = true; |
+ this->drawPath(draw, path, paint, preMatrix, pathIsMutable); |
+} |
+ |