OLD | NEW |
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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 [RaisesException] void drawImage(HTMLImageElement? image, float x, float y); | 120 [RaisesException] void drawImage(HTMLImageElement? image, float x, float y); |
121 [RaisesException] void drawImage(HTMLImageElement? image, float x, float y,
float width, float height); | 121 [RaisesException] void drawImage(HTMLImageElement? image, float x, float y,
float width, float height); |
122 [RaisesException] void drawImage(HTMLImageElement? image, float sx, float sy
, float sw, float sh, float dx, float dy, float dw, float dh); | 122 [RaisesException] void drawImage(HTMLImageElement? image, float sx, float sy
, float sw, float sh, float dx, float dy, float dw, float dh); |
123 [RaisesException] void drawImage(HTMLCanvasElement? canvas, float x, float y
); | 123 [RaisesException] void drawImage(HTMLCanvasElement? canvas, float x, float y
); |
124 [RaisesException] void drawImage(HTMLCanvasElement? canvas, float x, float y
, float width, float height); | 124 [RaisesException] void drawImage(HTMLCanvasElement? canvas, float x, float y
, float width, float height); |
125 [RaisesException] void drawImage(HTMLCanvasElement? canvas, float sx, float
sy, float sw, float sh, float dx, float dy, float dw, float dh); | 125 [RaisesException] void drawImage(HTMLCanvasElement? canvas, float sx, float
sy, float sw, float sh, float dx, float dy, float dw, float dh); |
126 [RaisesException] void drawImage(HTMLVideoElement? video, float x, float y); | 126 [RaisesException] void drawImage(HTMLVideoElement? video, float x, float y); |
127 [RaisesException] void drawImage(HTMLVideoElement? video, float x, float y,
float width, float height); | 127 [RaisesException] void drawImage(HTMLVideoElement? video, float x, float y,
float width, float height); |
128 [RaisesException] void drawImage(HTMLVideoElement? video, float sx, float sy
, float sw, float sh, float dx, float dy, float dw, float dh); | 128 [RaisesException] void drawImage(HTMLVideoElement? video, float sx, float sy
, float sw, float sh, float dx, float dy, float dw, float dh); |
| 129 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void drawImag
e(ImageBitmap? imageBitmap, float x, float y); |
| 130 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void drawImag
e(ImageBitmap? imageBitmap, float x, float y, float width, float height); |
| 131 [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void drawImag
e(ImageBitmap? imageBitmap, float sx, float sy, float sw, float sh, float dx, fl
oat dy, float dw, float dh); |
129 | 132 |
130 void drawImageFromRect(HTMLImageElement image, | 133 void drawImageFromRect(HTMLImageElement image, |
131 optional float sx, optional float sy, optional float
sw, optional float sh, | 134 optional float sx, optional float sy, optional float
sw, optional float sh, |
132 optional float dx, optional float dy, optional float
dw, optional float dh, | 135 optional float dx, optional float dy, optional float
dw, optional float dh, |
133 optional DOMString compositeOperation); | 136 optional DOMString compositeOperation); |
134 | 137 |
135 void setShadow(float width, float height, float blur, [StrictTypeChecking] o
ptional DOMString color, optional float alpha); | 138 void setShadow(float width, float height, float blur, [StrictTypeChecking] o
ptional DOMString color, optional float alpha); |
136 void setShadow(float width, float height, float blur, float grayLevel, optio
nal float alpha); | 139 void setShadow(float width, float height, float blur, float grayLevel, optio
nal float alpha); |
137 void setShadow(float width, float height, float blur, float r, float g, floa
t b, float a); | 140 void setShadow(float width, float height, float blur, float r, float g, floa
t b, float a); |
138 void setShadow(float width, float height, float blur, float c, float m, floa
t y, float k, float a); | 141 void setShadow(float width, float height, float blur, float c, float m, floa
t y, float k, float a); |
(...skipping 17 matching lines...) Expand all Loading... |
156 | 159 |
157 [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float s
w, float sh); | 160 [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float s
w, float sh); |
158 | 161 |
159 readonly attribute float webkitBackingStorePixelRatio; | 162 readonly attribute float webkitBackingStorePixelRatio; |
160 | 163 |
161 attribute boolean webkitImageSmoothingEnabled; | 164 attribute boolean webkitImageSmoothingEnabled; |
162 | 165 |
163 [EnabledAtRuntime=experimentalCanvasFeatures] Canvas2DContextAttributes getC
ontextAttributes(); | 166 [EnabledAtRuntime=experimentalCanvasFeatures] Canvas2DContextAttributes getC
ontextAttributes(); |
164 }; | 167 }; |
165 | 168 |
OLD | NEW |