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

Unified Diff: sdk/lib/math/rectangle.dart

Issue 50833003: Updated rectangle documentation to explain coordinate system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/math/rectangle.dart
diff --git a/sdk/lib/math/rectangle.dart b/sdk/lib/math/rectangle.dart
index 0aa52ff79d1e61f707efc98a659124680c505765..05fb9385f469d8d7fee9a76fbae6ab03fa2dbb8f 100644
--- a/sdk/lib/math/rectangle.dart
+++ b/sdk/lib/math/rectangle.dart
@@ -5,6 +5,13 @@ part of dart.math;
/**
* A base class for representing two-dimensional axis-aligned rectangles.
+ *
+ * This rectangle uses a left-handed Cartesian coordinate system, with x
+ * directed to the right but y directed down, as per the convention in 2D
floitsch 2013/10/31 00:36:59 s/but/and/
+ * computer graphics.
+ *
+ * See also:
+ * [W3C Coordinate Systems Specification](http://www.w3.org/TR/SVG/coords.html#InitialCoordinateSystem).
*/
abstract class _RectangleBase<T extends num> {
const _RectangleBase();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698