Index: sky/engine/core/painting/Canvas.h |
diff --git a/sky/engine/core/painting/Canvas.h b/sky/engine/core/painting/Canvas.h |
index a316f6592f69a73db1d072cd06a769deaa9833f2..e22d04910c06c29d4134a8e876aaf5c308dfe2b3 100644 |
--- a/sky/engine/core/painting/Canvas.h |
+++ b/sky/engine/core/painting/Canvas.h |
@@ -6,6 +6,7 @@ |
#define SKY_ENGINE_CORE_PAINTING_CANVAS_H_ |
#include "sky/engine/core/painting/Paint.h" |
+#include "sky/engine/core/painting/Picture.h" |
#include "sky/engine/platform/graphics/DisplayList.h" |
#include "sky/engine/tonic/dart_wrappable.h" |
#include "sky/engine/wtf/PassRefPtr.h" |
@@ -37,6 +38,8 @@ public: |
void clipRect(const Vector<float>& rect); |
+ void drawPicture(Picture* picture); |
+ |
void drawPaint(Paint* paint); |
void drawRect(const Vector<float>& rect, const Paint* paint); |
void drawOval(const Vector<float>& rect, const Paint* paint); |