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

Unified Diff: sky/engine/core/painting/Size.dart

Issue 1152213003: Flesh out Rect/Point/Size classes in dart:sky (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
« sky/engine/core/painting/Rect.dart ('K') | « sky/engine/core/painting/Rect.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Size.dart
diff --git a/sky/engine/core/painting/Point.dart b/sky/engine/core/painting/Size.dart
similarity index 70%
copy from sky/engine/core/painting/Point.dart
copy to sky/engine/core/painting/Size.dart
index 9fc7082e707bb0c3dc50d944b3848430d42b1c39..cf41608b8a9936efb4b5dee1837fd8d2d0d40457 100644
--- a/sky/engine/core/painting/Point.dart
+++ b/sky/engine/core/painting/Size.dart
@@ -4,10 +4,9 @@
part of dart.sky;
-class Point {
- double x;
- double y;
+class Size {
+ double width;
+ double height;
- Point(this.x, this.y);
+ Point(this.width, this.height);
}
-
« sky/engine/core/painting/Rect.dart ('K') | « sky/engine/core/painting/Rect.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698