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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.idl

Issue 14298022: Add support for new canvas ellipse method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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
Index: Source/core/html/canvas/CanvasRenderingContext2D.idl
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl
index ec98b03747821a8aa617a5097ad8679632fe23d7..275cab9a949725ea7a9b6593428c268fb36e4f56 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl
@@ -124,6 +124,14 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
[Default=Undefined] optional float startAngle,
[Default=Undefined] optional float endAngle,
[Default=Undefined] optional boolean anticlockwise);
+ [RaisesException] void ellipse([Default=Undefined] optional float x,
Stephen Chennney 2013/04/26 14:51:03 What good is an optional default=undefined value?
dshwang 2013/04/26 15:23:33 Aha, I see. I'll put [Default=Undefined] carefully
+ [Default=Undefined] optional float y,
+ [Default=Undefined] optional float radiusX,
+ [Default=Undefined] optional float radiusY,
+ [Default=Undefined] optional float rotation,
+ [Default=Undefined] optional float startAngle,
+ [Default=Undefined] optional float endAngle,
+ [Default=Undefined] optional boolean anticlockwise);
void fill(optional CanvasWindingRule winding);
void stroke();

Powered by Google App Engine
This is Rietveld 408576698