Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Unified Diff: sky/engine/core/painting/Canvas.h

Issue 1129353010: Add Canvas.drawPicture (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/core/painting/Canvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | sky/engine/core/painting/Canvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698