Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 2445c6e60d6a4811e8ca15dfe6582277cb3c0d5f..57a79131501abc39e0f3c7770588786524763d67 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -25,8 +25,9 @@ |
#define SK_LEGACY_DRAWTEXT_VIRTUAL |
#endif |
-class SkCanvasClipVisitor; |
class SkBaseDevice; |
+class SkCanvasClipVisitor; |
+class SkCanvasDrawable; |
class SkDraw; |
class SkDrawFilter; |
class SkImage; |
@@ -1069,6 +1070,8 @@ public: |
void drawPatch(const SkPoint cubics[12], const SkColor colors[4], |
const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint); |
+ void EXPERIMENTAL_drawDrawable(SkCanvasDrawable*); |
+ |
/** Send a blob of data to the canvas. |
For canvases that draw, this call is effectively a no-op, as the data |
is not parsed, but just ignored. However, this call exists for |
@@ -1254,6 +1257,8 @@ protected: |
virtual void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], |
const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint); |
+ virtual void onDrawDrawable(SkCanvasDrawable*); |
+ |
enum ClipEdgeStyle { |
kHard_ClipEdgeStyle, |
kSoft_ClipEdgeStyle |