| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006 Apple 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 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 // http://www.w3.org/TR/SVG2/painting.html#InterfaceSVGMarkerElement | 26 // http://www.w3.org/TR/SVG2/painting.html#InterfaceSVGMarkerElement |
| 27 | 27 |
| 28 [ | 28 [ |
| 29 TypeChecking=Interface, | 29 TypeChecking=Interface, |
| 30 ] interface SVGMarkerElement : SVGElement { | 30 ] interface SVGMarkerElement : SVGElement { |
| 31 | 31 |
| 32 // Marker Unit Types | 32 // Marker Unit Types |
| 33 const unsigned short SVG_MARKERUNITS_UNKNOWN = 0; | 33 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_MARKERU
NITS_UNKNOWN = 0; |
| 34 const unsigned short SVG_MARKERUNITS_USERSPACEONUSE = 1; | 34 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_MARKERU
NITS_USERSPACEONUSE = 1; |
| 35 const unsigned short SVG_MARKERUNITS_STROKEWIDTH = 2; | 35 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_MARKERU
NITS_STROKEWIDTH = 2; |
| 36 | 36 |
| 37 // Marker Orientation Types | 37 // Marker Orientation Types |
| 38 const unsigned short SVG_MARKER_ORIENT_UNKNOWN = 0; | 38 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_MARKER_
ORIENT_UNKNOWN = 0; |
| 39 const unsigned short SVG_MARKER_ORIENT_AUTO = 1; | 39 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_MARKER_
ORIENT_AUTO = 1; |
| 40 const unsigned short SVG_MARKER_ORIENT_ANGLE = 2; | 40 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] const unsigned short SVG_MARKER_
ORIENT_ANGLE = 2; |
| 41 | 41 |
| 42 readonly attribute SVGAnimatedLength refX; | 42 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth refX; |
| 43 readonly attribute SVGAnimatedLength refY; | 43 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth refY; |
| 44 readonly attribute SVGAnimatedEnumeration markerUnits; | 44 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedEn
umeration markerUnits; |
| 45 readonly attribute SVGAnimatedLength markerWidth; | 45 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth markerWidth; |
| 46 readonly attribute SVGAnimatedLength markerHeight; | 46 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth markerHeight; |
| 47 readonly attribute SVGAnimatedEnumeration orientType; | 47 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedEn
umeration orientType; |
| 48 readonly attribute SVGAnimatedAngle orientAngle; | 48 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedAn
gle orientAngle; |
| 49 | 49 |
| 50 void setOrientToAuto(); | 50 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void setOrientToAuto(); |
| 51 void setOrientToAngle(SVGAngle angle); | 51 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void setOrientToAngle(SVGAngle a
ngle); |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 SVGMarkerElement implements SVGFitToViewBox; | 54 SVGMarkerElement implements SVGFitToViewBox; |
| OLD | NEW |