| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy
, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); | 147 [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy
, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); |
| 148 | 148 |
| 149 [RaisesException] void webkitPutImageDataHD(ImageData? imagedata, float dx,
float dy); | 149 [RaisesException] void webkitPutImageDataHD(ImageData? imagedata, float dx,
float dy); |
| 150 [RaisesException] void webkitPutImageDataHD(ImageData? imagedata, float dx,
float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); | 150 [RaisesException] void webkitPutImageDataHD(ImageData? imagedata, float dx,
float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight); |
| 151 | 151 |
| 152 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [Tr
eatNullAs=NullString] DOMString repetitionType); | 152 [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [Tr
eatNullAs=NullString] DOMString repetitionType); |
| 153 [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [Trea
tNullAs=NullString] DOMString repetitionType); | 153 [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [Trea
tNullAs=NullString] DOMString repetitionType); |
| 154 [RaisesException] ImageData createImageData(ImageData? imagedata); | 154 [RaisesException] ImageData createImageData(ImageData? imagedata); |
| 155 [RaisesException] ImageData createImageData(float sw, float sh); | 155 [RaisesException] ImageData createImageData(float sw, float sh); |
| 156 | 156 |
| 157 [Custom] attribute custom strokeStyle; | 157 [Custom] attribute object strokeStyle; |
| 158 [Custom] attribute custom fillStyle; | 158 [Custom] attribute object fillStyle; |
| 159 | 159 |
| 160 // pixel manipulation | 160 // pixel manipulation |
| 161 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float
sh); | 161 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float
sh); |
| 162 | 162 |
| 163 [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float s
w, float sh); | 163 [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float s
w, float sh); |
| 164 | 164 |
| 165 // Focus rings | 165 // Focus rings |
| 166 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element
element); | 166 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element
element); |
| 167 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem
ent element); | 167 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem
ent element); |
| 168 | 168 |
| 169 readonly attribute float webkitBackingStorePixelRatio; | 169 readonly attribute float webkitBackingStorePixelRatio; |
| 170 | 170 |
| 171 [ImplementedAs=imageSmoothingEnabled] attribute boolean webkitImageSmoothing
Enabled; | 171 [ImplementedAs=imageSmoothingEnabled] attribute boolean webkitImageSmoothing
Enabled; |
| 172 attribute boolean imageSmoothingEnabled; | 172 attribute boolean imageSmoothingEnabled; |
| 173 | 173 |
| 174 Canvas2DContextAttributes getContextAttributes(); | 174 Canvas2DContextAttributes getContextAttributes(); |
| 175 }; | 175 }; |
| 176 | 176 |
| OLD | NEW |