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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 [Custom] attribute object strokeStyle; | 162 [Custom] attribute object strokeStyle; |
163 [Custom] attribute object fillStyle; | 163 [Custom] attribute object fillStyle; |
164 | 164 |
165 // pixel manipulation | 165 // pixel manipulation |
166 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float
sh); | 166 [RaisesException] ImageData getImageData(float sx, float sy, float sw, float
sh); |
167 | 167 |
168 [RaisesException, DeprecateAs=PrefixedGetImageDataHD] ImageData webkitGetIma
geDataHD(float sx, float sy, float sw, float sh); | 168 [RaisesException, DeprecateAs=PrefixedGetImageDataHD] ImageData webkitGetIma
geDataHD(float sx, float sy, float sw, float sh); |
169 | 169 |
170 // Focus rings | 170 // Focus rings |
171 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element
element); | 171 [RuntimeEnabled=ExperimentalCanvasFeatures] void drawFocusIfNeeded(Element e
lement); |
172 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem
ent element); | 172 [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Elem
ent element); |
173 | 173 |
174 readonly attribute float webkitBackingStorePixelRatio; | 174 readonly attribute float webkitBackingStorePixelRatio; |
175 | 175 |
176 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable
d] attribute boolean webkitImageSmoothingEnabled; | 176 [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnable
d] attribute boolean webkitImageSmoothingEnabled; |
177 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing
Enabled; | 177 [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothing
Enabled; |
178 | 178 |
179 Canvas2DContextAttributes getContextAttributes(); | 179 Canvas2DContextAttributes getContextAttributes(); |
180 }; | 180 }; |
181 | 181 |
182 CanvasRenderingContext2D implements CanvasPathMethods; | 182 CanvasRenderingContext2D implements CanvasPathMethods; |
OLD | NEW |