Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 73393422560aa7354d3d6d1ddafc68cc0788fff5..5d903fd074e13eb0f60337b93d0283f1c48f6188 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -378,6 +378,12 @@ protected: |
return NULL; |
} |
+ /** |
+ * Calls through to drawSprite, processing the imagefilter. |
+ */ |
+ virtual void drawBitmapAsSpriteWithImageFilter(const SkDraw&, const SkBitmap&, |
+ int x, int y, const SkPaint&); |
+ |
private: |
friend class SkCanvas; |
friend struct DeviceCM; //for setMatrixClip |
@@ -388,11 +394,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. |