23 #ifndef SVGRadialGradientElement_h
24 #define SVGRadialGradientElement_h
31 struct RadialGradientAttributes;
34 class SVGRadialGradientElement :
public SVGGradientElement {
36 SVGRadialGradientElement(
const QualifiedName&, Document*);
37 virtual ~SVGRadialGradientElement();
39 virtual void parseMappedAttribute(MappedAttribute*);
40 virtual void svgAttributeChanged(
const QualifiedName&);
45 virtual void buildGradient()
const;
46 virtual SVGPaintServerType gradientType()
const {
return RadialGradientPaintServer; }
48 RadialGradientAttributes collectGradientProperties()
const;
51 virtual const SVGElement* contextElement()
const {
return this; }
54 ANIMATED_PROPERTY_DECLARATIONS(SVGRadialGradientElement, SVGLength, SVGLength, Cx, cx)
55 ANIMATED_PROPERTY_DECLARATIONS(SVGRadialGradientElement, SVGLength, SVGLength, Cy, cy)
56 ANIMATED_PROPERTY_DECLARATIONS(SVGRadialGradientElement, SVGLength, SVGLength, R, r)
57 ANIMATED_PROPERTY_DECLARATIONS(SVGRadialGradientElement, SVGLength, SVGLength, Fx, fx)
58 ANIMATED_PROPERTY_DECLARATIONS(SVGRadialGradientElement, SVGLength, SVGLength, Fy, fy)