SVGPathSegCurvetoQuadratic.cpp [plain text]
#include "config.h"
#if ENABLE(SVG)
#include "SVGPathSegCurvetoQuadratic.h"
#include "SVGStyledElement.h"
namespace WebCore {
SVGPathSegCurvetoQuadraticAbs::SVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1)
: SVGPathSeg()
, m_x(x)
, m_y(y)
, m_x1(x1)
, m_y1(y1)
{
}
SVGPathSegCurvetoQuadraticAbs::~SVGPathSegCurvetoQuadraticAbs()
{
}
void SVGPathSegCurvetoQuadraticAbs::setX(float x)
{
m_x = x;
}
float SVGPathSegCurvetoQuadraticAbs::x() const
{
return m_x;
}
void SVGPathSegCurvetoQuadraticAbs::setY(float y)
{
m_y = y;
}
float SVGPathSegCurvetoQuadraticAbs::y() const
{
return m_y;
}
void SVGPathSegCurvetoQuadraticAbs::setX1(float x1)
{
m_x1 = x1;
}
float SVGPathSegCurvetoQuadraticAbs::x1() const
{
return m_x1;
}
void SVGPathSegCurvetoQuadraticAbs::setY1(float y1)
{
m_y1 = y1;
}
float SVGPathSegCurvetoQuadraticAbs::y1() const
{
return m_y1;
}
SVGPathSegCurvetoQuadraticRel::SVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1)
: SVGPathSeg()
, m_x(x)
, m_y(y)
, m_x1(x1)
, m_y1(y1)
{
}
SVGPathSegCurvetoQuadraticRel::~SVGPathSegCurvetoQuadraticRel()
{
}
void SVGPathSegCurvetoQuadraticRel::setX(float x)
{
m_x = x;
}
float SVGPathSegCurvetoQuadraticRel::x() const
{
return m_x;
}
void SVGPathSegCurvetoQuadraticRel::setY(float y)
{
m_y = y;
}
float SVGPathSegCurvetoQuadraticRel::y() const
{
return m_y;
}
void SVGPathSegCurvetoQuadraticRel::setX1(float x1)
{
m_x1 = x1;
}
float SVGPathSegCurvetoQuadraticRel::x1() const
{
return m_x1;
}
void SVGPathSegCurvetoQuadraticRel::setY1(float y1)
{
m_y1 = y1;
}
float SVGPathSegCurvetoQuadraticRel::y1() const
{
return m_y1;
}
}
#endif // ENABLE(SVG)