OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
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 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
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/filter-effects/#InterfaceSVGFEConvolveMatrixElement | 26 // http://www.w3.org/TR/filter-effects/#InterfaceSVGFEConvolveMatrixElement |
27 | 27 |
28 [ | 28 [ |
29 DoNotCheckConstants, | 29 DoNotCheckConstants, |
30 ] interface SVGFEConvolveMatrixElement : SVGElement { | 30 ] interface SVGFEConvolveMatrixElement : SVGElement { |
31 // Edge Mode Values | 31 // Edge Mode Values |
32 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] const unsigned short SVG_E
DGEMODE_UNKNOWN = 0; | 32 [MeasureAs=SVG1DOMFilter] const unsigned short SVG_EDGEMODE_UNKNOWN = 0; |
33 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] const unsigned short SVG_E
DGEMODE_DUPLICATE = 1; | 33 [MeasureAs=SVG1DOMFilter] const unsigned short SVG_EDGEMODE_DUPLICATE = 1; |
34 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] const unsigned short SVG_E
DGEMODE_WRAP = 2; | 34 [MeasureAs=SVG1DOMFilter] const unsigned short SVG_EDGEMODE_WRAP = 2; |
35 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] const unsigned short SVG_E
DGEMODE_NONE = 3; | 35 [MeasureAs=SVG1DOMFilter] const unsigned short SVG_EDGEMODE_NONE = 3; |
36 | 36 |
37 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedString in1; | 37 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1; |
38 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedInteger orderX; | 38 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedInteger orderX; |
39 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedInteger orderY; | 39 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedInteger orderY; |
40 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedNumberList kernelMatrix; | 40 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumberList kernelMat
rix; |
41 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedNumber divisor; | 41 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumber divisor; |
42 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedNumber bias; | 42 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumber bias; |
43 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedInteger targetX; | 43 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedInteger targetX; |
44 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedInteger targetY; | 44 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedInteger targetY; |
45 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedEnumeration edgeMode; | 45 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedEnumeration edgeMode
; |
46 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedNumber kernelUnitLengthX; | 46 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumber kernelUnitLen
gthX; |
47 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOMFilter] readonly attribute SVGAnim
atedNumber kernelUnitLengthY; | 47 [MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumber kernelUnitLen
gthY; |
48 | 48 |
49 // TODO(philipj): The following was part of SVG 1.1: | 49 // TODO(philipj): The following was part of SVG 1.1: |
50 // http://www.w3.org/TR/SVG11/filters.html#InterfaceSVGFEConvolveMatrixEleme
nt | 50 // http://www.w3.org/TR/SVG11/filters.html#InterfaceSVGFEConvolveMatrixEleme
nt |
51 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28703 | 51 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28703 |
52 [RuntimeEnabled=SVG1DOM, Measure] readonly attribute SVGAnimatedBoolean pres
erveAlpha; | 52 [Measure] readonly attribute SVGAnimatedBoolean preserveAlpha; |
53 }; | 53 }; |
54 | 54 |
55 SVGFEConvolveMatrixElement implements SVGFilterPrimitiveStandardAttributes; | 55 SVGFEConvolveMatrixElement implements SVGFilterPrimitiveStandardAttributes; |
OLD | NEW |