Index: sky/engine/core/painting/Canvas.h |
diff --git a/sky/engine/core/painting/Canvas.h b/sky/engine/core/painting/Canvas.h |
index e26a0ff4d84a0e805be9fcefe3bb579554bc1db8..46f1426411edb89c7e55d6695ad09edb1d807a8f 100644 |
--- a/sky/engine/core/painting/Canvas.h |
+++ b/sky/engine/core/painting/Canvas.h |
@@ -5,6 +5,7 @@ |
#ifndef SKY_ENGINE_CORE_PAINTING_CANVAS_H_ |
#define SKY_ENGINE_CORE_PAINTING_CANVAS_H_ |
+#include "sky/engine/core/painting/CanvasPath.h" |
#include "sky/engine/core/painting/Paint.h" |
#include "sky/engine/core/painting/Picture.h" |
#include "sky/engine/core/painting/Rect.h" |
@@ -44,6 +45,7 @@ public: |
void drawRect(const Rect& rect, const Paint* paint); |
void drawOval(const Rect& rect, const Paint* paint); |
void drawCircle(float x, float y, float radius, const Paint* paint); |
+ void drawPath(const CanvasPath* path, const Paint* paint); |
SkCanvas* skCanvas() { return m_canvas; } |