KHTML
SVGFEImage.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef SVGFEImage_h
00023 #define SVGFEImage_h
00024
00025 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
00026 #include "CachedImage.h"
00027 #include "CachedResourceClient.h"
00028 #include "SVGFilterEffect.h"
00029
00030 namespace WebCore {
00031
00032 class SVGFEImage : public SVGFilterEffect
00033 , public CachedResourceClient {
00034 public:
00035 SVGFEImage(SVGResourceFilter*);
00036 virtual ~SVGFEImage();
00037
00038
00039
00040 CachedImage* cachedImage() const;
00041 void setCachedImage(CachedImage*);
00042
00043 virtual TextStream& externalRepresentation(TextStream&) const;
00044
00045 #if PLATFORM(CI)
00046 virtual CIFilter* getCIFilter(const FloatRect& bbox) const;
00047 #endif
00048
00049 virtual void imageChanged(CachedImage*);
00050
00051 private:
00052 CachedImage* m_cachedImage;
00053 };
00054
00055 }
00056
00057 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
00058
00059 #endif // SVGFEImage_h