| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 void setShadow(in float width, in float height, in float blur, in [Optio
nal] DOMString color, in [Optional] float alpha); | 197 void setShadow(in float width, in float height, in float blur, in [Optio
nal] DOMString color, in [Optional] float alpha); |
| 198 void setShadow(in float width, in float height, in float blur, in float
grayLevel, in [Optional] float alpha); | 198 void setShadow(in float width, in float height, in float blur, in float
grayLevel, in [Optional] float alpha); |
| 199 void setShadow(in float width, in float height, in float blur, in float
r, in float g, in float b, in float a); | 199 void setShadow(in float width, in float height, in float blur, in float
r, in float g, in float b, in float a); |
| 200 void setShadow(in float width, in float height, in float blur, in float
c, in float m, in float y, in float k, in float a); | 200 void setShadow(in float width, in float height, in float blur, in float
c, in float m, in float y, in float k, in float a); |
| 201 | 201 |
| 202 void putImageData(in ImageData imagedata, in float dx, in float dy) | 202 void putImageData(in ImageData imagedata, in float dx, in float dy) |
| 203 raises(DOMException); | 203 raises(DOMException); |
| 204 void putImageData(in ImageData imagedata, in float dx, in float dy, in f
loat dirtyX, in float dirtyY, in float dirtyWidth, in float dirtyHeight) | 204 void putImageData(in ImageData imagedata, in float dx, in float dy, in f
loat dirtyX, in float dirtyY, in float dirtyWidth, in float dirtyHeight) |
| 205 raises(DOMException); | 205 raises(DOMException); |
| 206 | 206 |
| 207 void webkitPutImageDataHD(in ImageData imagedata, in float dx, in float
dy) |
| 208 raises(DOMException); |
| 209 void webkitPutImageDataHD(in ImageData imagedata, in float dx, in float
dy, in float dirtyX, in float dirtyY, in float dirtyWidth, in float dirtyHeight) |
| 210 raises(DOMException); |
| 211 |
| 207 CanvasPattern createPattern(in HTMLCanvasElement canvas, in [TreatNullAs
=NullString] DOMString repetitionType) | 212 CanvasPattern createPattern(in HTMLCanvasElement canvas, in [TreatNullAs
=NullString] DOMString repetitionType) |
| 208 raises (DOMException); | 213 raises (DOMException); |
| 209 CanvasPattern createPattern(in HTMLImageElement image, in [TreatNullAs=N
ullString] DOMString repetitionType) | 214 CanvasPattern createPattern(in HTMLImageElement image, in [TreatNullAs=N
ullString] DOMString repetitionType) |
| 210 raises (DOMException); | 215 raises (DOMException); |
| 211 ImageData createImageData(in ImageData imagedata) | 216 ImageData createImageData(in ImageData imagedata) |
| 212 raises (DOMException); | 217 raises (DOMException); |
| 213 ImageData createImageData(in float sw, in float sh) | 218 ImageData createImageData(in float sw, in float sh) |
| 214 raises (DOMException); | 219 raises (DOMException); |
| 215 | 220 |
| 216 attribute [Custom] custom strokeStyle; | 221 attribute [Custom] custom strokeStyle; |
| 217 attribute [Custom] custom fillStyle; | 222 attribute [Custom] custom fillStyle; |
| 218 | 223 |
| 219 // pixel manipulation | 224 // pixel manipulation |
| 220 ImageData getImageData(in [Optional=DefaultIsUndefined] float sx, in [Op
tional=DefaultIsUndefined] float sy, | 225 ImageData getImageData(in [Optional=DefaultIsUndefined] float sx, in [Op
tional=DefaultIsUndefined] float sy, |
| 221 in [Optional=DefaultIsUndefined] float sw, in [Op
tional=DefaultIsUndefined] float sh) | 226 in [Optional=DefaultIsUndefined] float sw, in [Op
tional=DefaultIsUndefined] float sh) |
| 222 raises(DOMException); | 227 raises(DOMException); |
| 228 |
| 229 ImageData webkitGetImageDataHD(in [Optional=DefaultIsUndefined] float sx
, in [Optional=DefaultIsUndefined] float sy, |
| 230 in [Optional=DefaultIsUndefined] float sw
, in [Optional=DefaultIsUndefined] float sh) |
| 231 raises(DOMException); |
| 232 |
| 233 readonly attribute float webkitBackingStorePixelRatio; |
| 223 }; | 234 }; |
| 224 | 235 |
| 225 } | 236 } |
| 226 | 237 |
| OLD | NEW |