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

Unified Diff: sky/tests/resources/display_list.dart

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
« sky/examples/game/lib/texture.dart ('K') | « sky/examples/raw/spinning_image.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/resources/display_list.dart
diff --git a/sky/tests/resources/display_list.dart b/sky/tests/resources/display_list.dart
index a83f34d0aa9878ed6cdda5111169934f4510891c..3d98d1272b0e56401df5016fdca2e2d4d42ad86a 100644
--- a/sky/tests/resources/display_list.dart
+++ b/sky/tests/resources/display_list.dart
@@ -106,6 +106,10 @@ class TestDisplayList extends RenderObjectDisplayList {
log("drawImage($image, $x, $y, $paint)");
}
+ void drawImageRect(sky.Image image, sky.Rect src, sky.Rect dst, Paint paint) {
+ log("drawImageRect($image, $src, $dst, paint)");
+ }
+
void paintChild(RenderObject child, Point position) {
log("paintChild ${child.runtimeType} at $position");
child.paint(new TestDisplayList(width, height, logger, indent: "$indent |"));
« sky/examples/game/lib/texture.dart ('K') | « sky/examples/raw/spinning_image.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698