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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 void rect([Default=Undefined] optional float x, 117 void rect([Default=Undefined] optional float x,
118 [Default=Undefined] optional float y, 118 [Default=Undefined] optional float y,
119 [Default=Undefined] optional float width, 119 [Default=Undefined] optional float width,
120 [Default=Undefined] optional float height); 120 [Default=Undefined] optional float height);
121 [RaisesException] void arc([Default=Undefined] optional float x, 121 [RaisesException] void arc([Default=Undefined] optional float x,
122 [Default=Undefined] optional float y, 122 [Default=Undefined] optional float y,
123 [Default=Undefined] optional float radius, 123 [Default=Undefined] optional float radius,
124 [Default=Undefined] optional float startAngle, 124 [Default=Undefined] optional float startAngle,
125 [Default=Undefined] optional float endAngle, 125 [Default=Undefined] optional float endAngle,
126 [Default=Undefined] optional boolean anticlockwise); 126 [Default=Undefined] optional boolean anticlockwise);
127 [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
128 [Default=Undefined] optional float y,
129 [Default=Undefined] optional float radiusX,
130 [Default=Undefined] optional float radiusY,
131 [Default=Undefined] optional float rotation,
132 [Default=Undefined] optional float startAngle,
133 [Default=Undefined] optional float endAngle,
134 [Default=Undefined] optional boolean anticlockwise);
127 135
128 void fill(optional CanvasWindingRule winding); 136 void fill(optional CanvasWindingRule winding);
129 void stroke(); 137 void stroke();
130 void clip(optional CanvasWindingRule winding); 138 void clip(optional CanvasWindingRule winding);
131 boolean isPointInPath([Default=Undefined] optional float x, 139 boolean isPointInPath([Default=Undefined] optional float x,
132 [Default=Undefined] optional float y, 140 [Default=Undefined] optional float y,
133 optional CanvasWindingRule winding); 141 optional CanvasWindingRule winding);
134 boolean isPointInStroke([Default=Undefined] optional float x, 142 boolean isPointInStroke([Default=Undefined] optional float x,
135 [Default=Undefined] optional float y); 143 [Default=Undefined] optional float y);
136 144
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 [Default=Undefined] optional float sw, [Default=Undef ined] optional float sh); 219 [Default=Undefined] optional float sw, [Default=Undef ined] optional float sh);
212 220
213 [RaisesException] ImageData webkitGetImageDataHD([Default=Undefined] optiona l float sx, [Default=Undefined] optional float sy, 221 [RaisesException] ImageData webkitGetImageDataHD([Default=Undefined] optiona l float sx, [Default=Undefined] optional float sy,
214 [Default=Undefined] optional float sw, [Defau lt=Undefined] optional float sh); 222 [Default=Undefined] optional float sw, [Defau lt=Undefined] optional float sh);
215 223
216 readonly attribute float webkitBackingStorePixelRatio; 224 readonly attribute float webkitBackingStorePixelRatio;
217 225
218 attribute boolean webkitImageSmoothingEnabled; 226 attribute boolean webkitImageSmoothingEnabled;
219 }; 227 };
220 228
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698