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

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

Issue 1204783003: Adds basic sprite sheet support to sprites (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Adds basic sprite sheet support to sprites (fixed issues) Created 5 years, 6 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
Index: sky/engine/core/painting/Canvas.h
diff --git a/sky/engine/core/painting/Canvas.h b/sky/engine/core/painting/Canvas.h
index abd325643ec8188ffcf6a0feb467d3ef19f0d020..a856ddfe116ddb65db3141e0319d03f44ccb6004 100644
--- a/sky/engine/core/painting/Canvas.h
+++ b/sky/engine/core/painting/Canvas.h
@@ -57,6 +57,7 @@ public:
float x,
float y,
const Paint* paint);
+ void drawImageRect(const CanvasImage* image, Rect& src, Rect& dst, Paint* paint);
SkCanvas* skCanvas() { return m_canvas; }

Powered by Google App Engine
This is Rietveld 408576698