Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index cd13d5482e97d1e32f848d9993771601c7b8d674..ac875bdbaa5f9d8ffdfa35f7149812635d396992 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -378,6 +378,11 @@ protected: |
return NULL; |
} |
+ /** |
+ * Calls through to drawSprite, processing imagefilter as needed. |
+ */ |
+ virtual void drawBitmapAsSprite(const SkDraw&, const SkBitmap&, int x, int y, const SkPaint&); |
+ |
private: |
friend class SkCanvas; |
friend struct DeviceCM; //for setMatrixClip |
@@ -388,11 +393,6 @@ private: |
friend class SkNoPixelsBitmapDevice; |
friend class SkSurface_Raster; |
- /** |
- * Calls through to drawSprite, processing imagefilter as needed. |
- */ |
- void drawBitmapAsSprite(const SkDraw&, const SkBitmap&, int x, int y, const SkPaint&); |
- |
// used to change the backend's pixels (and possibly config/rowbytes) |
// but cannot change the width/height, so there should be no change to |
// any clip information. |