| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 void setStrokeColor([StrictTypeChecking] DOMString color, optional float alp
ha); | 108 void setStrokeColor([StrictTypeChecking] DOMString color, optional float alp
ha); |
| 109 void setStrokeColor(float grayLevel, optional float alpha); | 109 void setStrokeColor(float grayLevel, optional float alpha); |
| 110 void setStrokeColor(float r, float g, float b, float a); | 110 void setStrokeColor(float r, float g, float b, float a); |
| 111 void setStrokeColor(float c, float m, float y, float k, float a); | 111 void setStrokeColor(float c, float m, float y, float k, float a); |
| 112 | 112 |
| 113 void setFillColor([StrictTypeChecking] DOMString color, optional float alpha
); | 113 void setFillColor([StrictTypeChecking] DOMString color, optional float alpha
); |
| 114 void setFillColor(float grayLevel, optional float alpha); | 114 void setFillColor(float grayLevel, optional float alpha); |
| 115 void setFillColor(float r, float g, float b, float a); | 115 void setFillColor(float r, float g, float b, float a); |
| 116 void setFillColor(float c, float m, float y, float k, float a); | 116 void setFillColor(float c, float m, float y, float k, float a); |
| 117 | 117 |
| 118 void strokeRect(float x, float y, float width, float height, optional float
lineWidth); | 118 void strokeRect(float x, float y, float width, float height); |
| 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); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 156 | 156 |
| 157 [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float s
w, float sh); | 157 [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float s
w, float sh); |
| 158 | 158 |
| 159 readonly attribute float webkitBackingStorePixelRatio; | 159 readonly attribute float webkitBackingStorePixelRatio; |
| 160 | 160 |
| 161 attribute boolean webkitImageSmoothingEnabled; | 161 attribute boolean webkitImageSmoothingEnabled; |
| 162 | 162 |
| 163 [EnabledAtRuntime=experimentalCanvasFeatures] Canvas2DContextAttributes getC
ontextAttributes(); | 163 [EnabledAtRuntime=experimentalCanvasFeatures] Canvas2DContextAttributes getC
ontextAttributes(); |
| 164 }; | 164 }; |
| 165 | 165 |
| OLD | NEW |