SVGFEImageElement.h [plain text]
#ifndef KSVG_SVGFEImageElementImpl_H
#define KSVG_SVGFEImageElementImpl_H
#if SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "SVGURIReference.h"
#include "SVGLangSpace.h"
#include "SVGExternalResourcesRequired.h"
#include "KCanvasFilters.h"
namespace WebCore {
class SVGAnimatedPreserveAspectRatio;
class SVGFEImageElement : public SVGFilterPrimitiveStandardAttributes,
public SVGURIReference,
public SVGLangSpace,
public SVGExternalResourcesRequired,
public CachedResourceClient
{
public:
SVGFEImageElement(const QualifiedName&, Document*);
virtual ~SVGFEImageElement();
SVGAnimatedPreserveAspectRatio *preserveAspectRatio() const;
virtual void parseMappedAttribute(MappedAttribute *attr);
virtual void notifyFinished(CachedResource *finishedObj);
protected:
virtual KCanvasFEImage *filterEffect() const;
private:
mutable RefPtr<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio;
CachedImage *m_cachedImage;
mutable KCanvasFEImage *m_filterEffect;
};
};
#endif // SVG_SUPPORT
#endif