Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index a8e2c7f19dc62e676fc9f6d11a41b38d8eaa05d9..9a46801a98bb3fe638f9ef5cd5eacb33ad30d982 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1073,7 +1073,8 @@ public: |
* If the intent is to force the contents of the drawable into this canvas immediately, |
* then drawable->draw(canvas) may be called. |
*/ |
- void drawDrawable(SkDrawable* drawable); |
+ void drawDrawable(SkDrawable* drawable, const SkMatrix* = NULL); |
+ void drawDrawable(SkDrawable*, SkScalar x, SkScalar y); |
////////////////////////////////////////////////////////////////////////// |
@@ -1229,7 +1230,7 @@ protected: |
virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint); |
- virtual void onDrawDrawable(SkDrawable*); |
+ virtual void onDrawDrawable(SkDrawable*, const SkMatrix*); |
virtual void onDrawPaint(const SkPaint&); |
virtual void onDrawRect(const SkRect&, const SkPaint&); |