KHTML
Go to the documentation of this file.
27 #include "wtf/Platform.h"
63 SVGPaintServerGradient::SVGPaintServerGradient(
const SVGGradientElement* owner)
64 : m_spreadMethod(SPREADMETHOD_PAD)
65 , m_boundingBoxMode(true)
66 , m_ownerElement(owner)
78 SVGPaintServerGradient::~SVGPaintServerGradient()
81 CGShadingRelease(m_shadingCache);
85 const Vector<SVGGradientStop>& SVGPaintServerGradient::gradientStops()
const
90 void SVGPaintServerGradient::setGradientStops(
const Vector<SVGGradientStop>& stops)
95 SVGGradientSpreadMethod SVGPaintServerGradient::spreadMethod()
const
97 return m_spreadMethod;
100 void SVGPaintServerGradient::setGradientSpreadMethod(
const SVGGradientSpreadMethod& method)
102 m_spreadMethod = method;
105 bool SVGPaintServerGradient::boundingBoxMode()
const
107 return m_boundingBoxMode;
110 void SVGPaintServerGradient::setBoundingBoxMode(
bool mode)
112 m_boundingBoxMode = mode;
115 AffineTransform SVGPaintServerGradient::gradientTransform()
const
117 return m_gradientTransform;
120 void SVGPaintServerGradient::setGradientTransform(
const AffineTransform& transform)
122 m_gradientTransform = transform;
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.