SVGCursorElement.h [plain text]
#ifndef KSVG_SVGCursorElementImpl_H
#define KSVG_SVGCursorElementImpl_H
#if SVG_SUPPORT
#include "Image.h"
#include "SVGElement.h"
#include "SVGTests.h"
#include "SVGURIReference.h"
#include "SVGExternalResourcesRequired.h"
#include "CachedResourceClient.h"
namespace WebCore
{
class SVGAnimatedLength;
class SVGCursorElement : public SVGElement,
public SVGTests,
public SVGExternalResourcesRequired,
public SVGURIReference,
public CachedResourceClient
{
public:
SVGCursorElement(const QualifiedName&, Document*);
virtual ~SVGCursorElement();
virtual bool isValid() const { return SVGTests::isValid(); }
SVGAnimatedLength *x() const;
SVGAnimatedLength *y() const;
virtual void parseMappedAttribute(MappedAttribute *attr);
CachedImage* cachedImage() const { return m_cachedImage; }
private:
mutable RefPtr<SVGAnimatedLength> m_x;
mutable RefPtr<SVGAnimatedLength> m_y;
CachedImage *m_cachedImage;
};
};
#endif // SVG_SUPPORT
#endif