1 | <!-- ....................................................................... --> |
---|
2 | <!-- SVG 1.1 Gradient Module ............................................... --> |
---|
3 | <!-- file: svg-gradient.mod |
---|
4 | |
---|
5 | This is SVG, a language for describing two-dimensional graphics in XML. |
---|
6 | Copyright 2001, 2002 W3C (MIT, INRIA, Keio), All Rights Reserved. |
---|
7 | Revision: $Id: svg-gradient.mod,v 1.3 2002/10/24 17:40:15 fujisawa Exp $ |
---|
8 | |
---|
9 | This DTD module is identified by the PUBLIC and SYSTEM identifiers: |
---|
10 | |
---|
11 | PUBLIC "-//W3C//ELEMENTS SVG 1.1 Gradient//EN" |
---|
12 | SYSTEM "http://www.w3.org/Graphics/SVG/1.1/DTD/svg-gradient.mod" |
---|
13 | |
---|
14 | ....................................................................... --> |
---|
15 | |
---|
16 | <!-- Gradient |
---|
17 | |
---|
18 | linearGradient, radialGradient, stop |
---|
19 | |
---|
20 | This module declares markup to provide support for gradient fill. |
---|
21 | --> |
---|
22 | |
---|
23 | <!-- a <number> or a <percentage> --> |
---|
24 | <!ENTITY % NumberOrPercentage.datatype "CDATA" > |
---|
25 | |
---|
26 | <!-- Qualified Names (Default) ......................... --> |
---|
27 | |
---|
28 | <!ENTITY % SVG.linearGradient.qname "linearGradient" > |
---|
29 | <!ENTITY % SVG.radialGradient.qname "radialGradient" > |
---|
30 | <!ENTITY % SVG.stop.qname "stop" > |
---|
31 | |
---|
32 | <!-- Attribute Collections (Default) ................... --> |
---|
33 | |
---|
34 | <!ENTITY % SVG.Core.attrib "" > |
---|
35 | <!ENTITY % SVG.Style.attrib "" > |
---|
36 | <!ENTITY % SVG.Color.attrib "" > |
---|
37 | <!ENTITY % SVG.XLink.attrib "" > |
---|
38 | <!ENTITY % SVG.External.attrib "" > |
---|
39 | |
---|
40 | <!-- SVG.Gradient.class ................................ --> |
---|
41 | |
---|
42 | <!ENTITY % SVG.Gradient.extra.class "" > |
---|
43 | |
---|
44 | <!ENTITY % SVG.Gradient.class |
---|
45 | "| %SVG.linearGradient.qname; | %SVG.radialGradient.qname; |
---|
46 | %SVG.Gradient.extra.class;" |
---|
47 | > |
---|
48 | |
---|
49 | <!-- SVG.Gradient.attrib ............................... --> |
---|
50 | |
---|
51 | <!ENTITY % SVG.Gradient.extra.attrib "" > |
---|
52 | |
---|
53 | <!ENTITY % SVG.Gradient.attrib |
---|
54 | "stop-color %SVGColor.datatype; #IMPLIED |
---|
55 | stop-opacity %OpacityValue.datatype; #IMPLIED |
---|
56 | %SVG.Gradient.extra.attrib;" |
---|
57 | > |
---|
58 | |
---|
59 | <!-- linearGradient: Linear Gradient Element ........... --> |
---|
60 | |
---|
61 | <!ENTITY % SVG.linearGradient.extra.content "" > |
---|
62 | |
---|
63 | <!ENTITY % SVG.linearGradient.element "INCLUDE" > |
---|
64 | <![%SVG.linearGradient.element;[ |
---|
65 | <!ENTITY % SVG.linearGradient.content |
---|
66 | "(( %SVG.Description.class; )*, ( %SVG.stop.qname; | %SVG.animate.qname; |
---|
67 | | %SVG.set.qname; | %SVG.animateTransform.qname; |
---|
68 | %SVG.linearGradient.extra.content; )*)" |
---|
69 | > |
---|
70 | <!ELEMENT %SVG.linearGradient.qname; %SVG.linearGradient.content; > |
---|
71 | <!-- end of SVG.linearGradient.element -->]]> |
---|
72 | |
---|
73 | <!ENTITY % SVG.linearGradient.attlist "INCLUDE" > |
---|
74 | <![%SVG.linearGradient.attlist;[ |
---|
75 | <!ATTLIST %SVG.linearGradient.qname; |
---|
76 | %SVG.Core.attrib; |
---|
77 | %SVG.Style.attrib; |
---|
78 | %SVG.Color.attrib; |
---|
79 | %SVG.Gradient.attrib; |
---|
80 | %SVG.XLink.attrib; |
---|
81 | %SVG.External.attrib; |
---|
82 | x1 %Coordinate.datatype; #IMPLIED |
---|
83 | y1 %Coordinate.datatype; #IMPLIED |
---|
84 | x2 %Coordinate.datatype; #IMPLIED |
---|
85 | y2 %Coordinate.datatype; #IMPLIED |
---|
86 | gradientUnits ( userSpaceOnUse | objectBoundingBox ) #IMPLIED |
---|
87 | gradientTransform %TransformList.datatype; #IMPLIED |
---|
88 | spreadMethod ( pad | reflect | repeat ) #IMPLIED |
---|
89 | > |
---|
90 | <!-- end of SVG.linearGradient.attlist -->]]> |
---|
91 | |
---|
92 | <!-- radialGradient: Radial Gradient Element ........... --> |
---|
93 | |
---|
94 | <!ENTITY % SVG.radialGradient.extra.content "" > |
---|
95 | |
---|
96 | <!ENTITY % SVG.radialGradient.element "INCLUDE" > |
---|
97 | <![%SVG.radialGradient.element;[ |
---|
98 | <!ENTITY % SVG.radialGradient.content |
---|
99 | "(( %SVG.Description.class; )*, ( %SVG.stop.qname; | %SVG.animate.qname; |
---|
100 | | %SVG.set.qname; | %SVG.animateTransform.qname; |
---|
101 | %SVG.radialGradient.extra.content; )*)" |
---|
102 | > |
---|
103 | <!ELEMENT %SVG.radialGradient.qname; %SVG.radialGradient.content; > |
---|
104 | <!-- end of SVG.radialGradient.element -->]]> |
---|
105 | |
---|
106 | <!ENTITY % SVG.radialGradient.attlist "INCLUDE" > |
---|
107 | <![%SVG.radialGradient.attlist;[ |
---|
108 | <!ATTLIST %SVG.radialGradient.qname; |
---|
109 | %SVG.Core.attrib; |
---|
110 | %SVG.Style.attrib; |
---|
111 | %SVG.Color.attrib; |
---|
112 | %SVG.Gradient.attrib; |
---|
113 | %SVG.XLink.attrib; |
---|
114 | %SVG.External.attrib; |
---|
115 | cx %Coordinate.datatype; #IMPLIED |
---|
116 | cy %Coordinate.datatype; #IMPLIED |
---|
117 | r %Length.datatype; #IMPLIED |
---|
118 | fx %Coordinate.datatype; #IMPLIED |
---|
119 | fy %Coordinate.datatype; #IMPLIED |
---|
120 | gradientUnits ( userSpaceOnUse | objectBoundingBox ) #IMPLIED |
---|
121 | gradientTransform %TransformList.datatype; #IMPLIED |
---|
122 | spreadMethod ( pad | reflect | repeat ) #IMPLIED |
---|
123 | > |
---|
124 | <!-- end of SVG.radialGradient.attlist -->]]> |
---|
125 | |
---|
126 | <!-- stop: Stop Element ................................ --> |
---|
127 | |
---|
128 | <!ENTITY % SVG.stop.extra.content "" > |
---|
129 | |
---|
130 | <!ENTITY % SVG.stop.element "INCLUDE" > |
---|
131 | <![%SVG.stop.element;[ |
---|
132 | <!ENTITY % SVG.stop.content |
---|
133 | "( %SVG.animate.qname; | %SVG.set.qname; | %SVG.animateColor.qname; |
---|
134 | %SVG.stop.extra.content; )*" |
---|
135 | > |
---|
136 | <!ELEMENT %SVG.stop.qname; %SVG.stop.content; > |
---|
137 | <!-- end of SVG.stop.element -->]]> |
---|
138 | |
---|
139 | <!ENTITY % SVG.stop.attlist "INCLUDE" > |
---|
140 | <![%SVG.stop.attlist;[ |
---|
141 | <!ATTLIST %SVG.stop.qname; |
---|
142 | %SVG.Core.attrib; |
---|
143 | %SVG.Style.attrib; |
---|
144 | %SVG.Color.attrib; |
---|
145 | %SVG.Gradient.attrib; |
---|
146 | offset %NumberOrPercentage.datatype; #REQUIRED |
---|
147 | > |
---|
148 | <!-- end of SVG.stop.attlist -->]]> |
---|
149 | |
---|
150 | <!-- end of svg-gradient.mod --> |
---|