KHTML
Go to the documentation of this file.
22 #ifndef SVGFilterEffect_h
23 #define SVGFilterEffect_h
25 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
39 class SVGResourceFilter;
42 class SVGFilterEffect {
44 SVGFilterEffect(SVGResourceFilter*);
45 virtual ~SVGFilterEffect() { }
47 bool xBoundingBoxMode()
const {
return m_xBBoxMode; }
48 void setXBoundingBoxMode(
bool bboxMode) { m_xBBoxMode = bboxMode; }
50 bool yBoundingBoxMode()
const {
return m_yBBoxMode; }
51 void setYBoundingBoxMode(
bool bboxMode) { m_yBBoxMode = bboxMode; }
53 bool widthBoundingBoxMode()
const {
return m_widthBBoxMode; }
54 void setWidthBoundingBoxMode(
bool bboxMode) { m_widthBBoxMode = bboxMode; }
56 bool heightBoundingBoxMode()
const {
return m_heightBBoxMode; }
57 void setHeightBoundingBoxMode(
bool bboxMode) { m_heightBBoxMode = bboxMode; }
59 FloatRect primitiveBBoxForFilterBBox(
const FloatRect& filterBBox,
const FloatRect& itemBBox)
const;
61 FloatRect subRegion()
const;
62 void setSubRegion(
const FloatRect&);
68 void setResult(
const String&);
70 SVGResourceFilter* filter()
const;
71 void setFilter(SVGResourceFilter*);
73 virtual TextStream& externalRepresentation(TextStream&)
const;
76 virtual CIFilter* getCIFilter(
const FloatRect& bbox)
const;
80 SVGResourceFilter* m_filter;
84 bool m_widthBBoxMode : 1;
85 bool m_heightBBoxMode : 1;
87 FloatRect m_subRegion;
93 TextStream&
operator<<(TextStream&,
const SVGFilterEffect&);
97 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
99 #endif // SVGFilterEffect_h
QDebug operator<<(QDebug s, KDebugStreamFunction f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.