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

Unified Diff: tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate

Issue 12719002: Update context2d.arc to take optional anticlockwise parameter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
index 1e9ba85ac4d65731890463c795b0fde1e9129f9b..2c6ca71a56e177dc10a7a5223b32a3b761aca24e 100644
--- a/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
+++ b/tools/dom/templates/html/impl/impl_CanvasRenderingContext2D.darttemplate
@@ -43,6 +43,13 @@ $!MEMBERS
this.strokeStyle = 'hsla($h, $s%, $l%, $a)';
}
+ @DomName('CanvasRenderingContext2D.arc')
+ void arc(num x, num y, num radius, num startAngle, num endAngle,
sra1 2013/04/09 22:30:58 This won't inline very well for dart2js. Is it pos
Andrei Mouravski 2013/04/09 23:33:24 The argument is optional in the spec, too: http://
+ [bool anticlockwise: false]) {
+ $dom_arc(x, y, radius, startAngle, endAngle, anticlockwise);
+ }
+
+
$if DART2JS
@DomName('CanvasRenderingContext2D.lineDashOffset')
num get lineDashOffset => JS('num',
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698