SVGCircleElement.h [plain text]
#ifndef SVGCircleElement_h
#define SVGCircleElement_h
#include "SVGAnimatedBoolean.h"
#include "SVGAnimatedLength.h"
#include "SVGExternalResourcesRequired.h"
#include "SVGGraphicsElement.h"
namespace WebCore {
class SVGCircleElement final : public SVGGraphicsElement,
public SVGExternalResourcesRequired {
public:
static PassRefPtr<SVGCircleElement> create(const QualifiedName&, Document&);
private:
SVGCircleElement(const QualifiedName&, Document&);
virtual bool isValid() const override { return SVGTests::isValid(); }
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
virtual bool selfHasRelativeLengths() const override;
virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCircleElement)
DECLARE_ANIMATED_LENGTH(Cx, cx)
DECLARE_ANIMATED_LENGTH(Cy, cy)
DECLARE_ANIMATED_LENGTH(R, r)
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired)
END_DECLARE_ANIMATED_PROPERTIES
};
NODE_TYPE_CASTS(SVGCircleElement)
}
#endif // SVGCircleElement_h