23 #ifndef SVGRectElement_h
24 #define SVGRectElement_h
34 class SVGRectElement :
public SVGStyledTransformableElement,
37 public SVGExternalResourcesRequired {
39 SVGRectElement(
const QualifiedName&, Document*);
40 virtual ~SVGRectElement();
42 virtual bool isValid()
const {
return SVGTests::isValid(); }
44 virtual void parseMappedAttribute(MappedAttribute*);
45 virtual void svgAttributeChanged(
const QualifiedName&);
47 virtual Path toPathData()
const;
52 virtual const SVGElement* contextElement()
const {
return this; }
53 virtual bool hasRelativeValues()
const;
56 ANIMATED_PROPERTY_FORWARD_DECLARATIONS(SVGExternalResourcesRequired,
bool, ExternalResourcesRequired, externalResourcesRequired)
58 ANIMATED_PROPERTY_DECLARATIONS(SVGRectElement, SVGLength, SVGLength, X, x)
59 ANIMATED_PROPERTY_DECLARATIONS(SVGRectElement, SVGLength, SVGLength, Y, y)
60 ANIMATED_PROPERTY_DECLARATIONS(SVGRectElement, SVGLength, SVGLength, Width, width)
61 ANIMATED_PROPERTY_DECLARATIONS(SVGRectElement, SVGLength, SVGLength, Height, height)
62 ANIMATED_PROPERTY_DECLARATIONS(SVGRectElement, SVGLength, SVGLength, Rx, rx)
63 ANIMATED_PROPERTY_DECLARATIONS(SVGRectElement, SVGLength, SVGLength, Ry, ry)