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