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

Unified Diff: sky/engine/core/painting/Path.idl

Issue 1164393002: Convert everything in the Sky API from degrees to radians. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « sky/engine/core/painting/CanvasPath.h ('k') | sky/examples/game/lib/transform_node.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Path.idl
diff --git a/sky/engine/core/painting/Path.idl b/sky/engine/core/painting/Path.idl
index d3a06ce30a586c1e95932f611509cb93ae62086a..2fe3d43f05a9cc46e27963a4d5f2a8399b0c3476 100644
--- a/sky/engine/core/painting/Path.idl
+++ b/sky/engine/core/painting/Path.idl
@@ -8,6 +8,6 @@
] interface Path {
void moveTo(float x, float y);
void lineTo(float x, float y);
- void arcTo(Rect rect, float startAngle, float sweepAngle, boolean forceMoveTo);
+ void arcTo(Rect rect, float startAngle, float sweepAngle, boolean forceMoveTo); // angles in radians
void close();
};
« no previous file with comments | « sky/engine/core/painting/CanvasPath.h ('k') | sky/examples/game/lib/transform_node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698