KHTML
SVGFEOffset.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 SVGFEOffset_h
00023 #define SVGFEOffset_h
00024
00025 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
00026 #include "SVGFilterEffect.h"
00027
00028 namespace WebCore {
00029
00030 class SVGFEOffset : public SVGFilterEffect {
00031 public:
00032 SVGFEOffset(SVGResourceFilter*);
00033
00034 float dx() const;
00035 void setDx(float);
00036
00037 float dy() const;
00038 void setDy(float);
00039
00040 virtual TextStream& externalRepresentation(TextStream&) const;
00041
00042 #if PLATFORM(CI)
00043 virtual CIFilter* getCIFilter(const FloatRect& bbox) const;
00044 #endif
00045
00046 private:
00047 float m_dx;
00048 float m_dy;
00049 };
00050
00051 }
00052
00053 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
00054
00055 #endif // SVGFEOffset_h