| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 void setShadow(float width, float height, float blur, float c, float m, floa
t y, float k, float a); | 159 void setShadow(float width, float height, float blur, float c, float m, floa
t y, float k, float a); |
| 160 | 160 |
| 161 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy
); | 161 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy
); |
| 162 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy
, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); | 162 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy
, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); |
| 163 | 163 |
| 164 [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDat
aHD(ImageData? imagedata, float dx, float dy); | 164 [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDat
aHD(ImageData? imagedata, float dx, float dy); |
| 165 [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDat
aHD(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float
dirtyWidth, float dirtyHeight); | 165 [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDat
aHD(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float
dirtyWidth, float dirtyHeight); |
| 166 | 166 |
| 167 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [Tr
eatNullAs=NullString] DOMString repetitionType); | 167 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [Tr
eatNullAs=NullString] DOMString repetitionType); |
| 168 [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [Trea
tNullAs=NullString] DOMString repetitionType); | 168 [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [Trea
tNullAs=NullString] DOMString repetitionType); |
| 169 [RaisesException] CanvasPattern createPattern(HTMLVideoElement? image, [Trea
tNullAs=NullString] DOMString repetitionType); |
| 169 [RaisesException] ImageData createImageData(ImageData? imagedata); | 170 [RaisesException] ImageData createImageData(ImageData? imagedata); |
| 170 [RaisesException] ImageData createImageData(float sw, float sh); | 171 [RaisesException] ImageData createImageData(float sw, float sh); |
| 171 | 172 |
| 172 [Custom] attribute object strokeStyle; | 173 [Custom] attribute object strokeStyle; |
| 173 [Custom] attribute object fillStyle; | 174 [Custom] attribute object fillStyle; |
| 174 | 175 |
| 175 // pixel manipulation | 176 // pixel manipulation |
| 176 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float
sh); | 177 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float
sh); |
| 177 | 178 |
| 178 [RaisesException, DeprecateAs=PrefixedGetImageDataHD] ImageData webkitGetIma
geDataHD(float sx, float sy, float sw, float sh); | 179 [RaisesException, DeprecateAs=PrefixedGetImageDataHD] ImageData webkitGetIma
geDataHD(float sx, float sy, float sw, float sh); |
| 179 | 180 |
| 180 // Focus rings | 181 // Focus rings |
| 181 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element
element); | 182 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element
element); |
| 182 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem
ent element); | 183 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem
ent element); |
| 183 | 184 |
| 184 readonly attribute float webkitBackingStorePixelRatio; | 185 readonly attribute float webkitBackingStorePixelRatio; |
| 185 | 186 |
| 186 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable
d] attribute boolean webkitImageSmoothingEnabled; | 187 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable
d] attribute boolean webkitImageSmoothingEnabled; |
| 187 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing
Enabled; | 188 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing
Enabled; |
| 188 | 189 |
| 189 Canvas2DContextAttributes getContextAttributes(); | 190 Canvas2DContextAttributes getContextAttributes(); |
| 190 }; | 191 }; |
| 191 | 192 |
| OLD | NEW |