SVGPathSegCurvetoCubicSmooth.cpp [plain text]
#include "config.h"
#if ENABLE(SVG)
#include "SVGPathSegCurvetoCubicSmooth.h"
#include "SVGStyledElement.h"
namespace WebCore {
SVGPathSegCurvetoCubicSmoothAbs::SVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2)
: SVGPathSeg()
, m_x(x)
, m_y(y)
, m_x2(x2)
, m_y2(y2)
{
}
SVGPathSegCurvetoCubicSmoothAbs::~SVGPathSegCurvetoCubicSmoothAbs()
{
}
void SVGPathSegCurvetoCubicSmoothAbs::setX(float x)
{
m_x = x;
}
float SVGPathSegCurvetoCubicSmoothAbs::x() const
{
return m_x;
}
void SVGPathSegCurvetoCubicSmoothAbs::setY(float y)
{
m_y = y;
}
float SVGPathSegCurvetoCubicSmoothAbs::y() const
{
return m_y;
}
void SVGPathSegCurvetoCubicSmoothAbs::setX2(float x2)
{
m_x2 = x2;
}
float SVGPathSegCurvetoCubicSmoothAbs::x2() const
{
return m_x2;
}
void SVGPathSegCurvetoCubicSmoothAbs::setY2(float y2)
{
m_y2 = y2;
}
float SVGPathSegCurvetoCubicSmoothAbs::y2() const
{
return m_y2;
}
SVGPathSegCurvetoCubicSmoothRel::SVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2)
: SVGPathSeg()
, m_x(x)
, m_y(y)
, m_x2(x2)
, m_y2(y2)
{
}
SVGPathSegCurvetoCubicSmoothRel::~SVGPathSegCurvetoCubicSmoothRel()
{
}
void SVGPathSegCurvetoCubicSmoothRel::setX(float x)
{
m_x = x;
}
float SVGPathSegCurvetoCubicSmoothRel::x() const
{
return m_x;
}
void SVGPathSegCurvetoCubicSmoothRel::setY(float y)
{
m_y = y;
}
float SVGPathSegCurvetoCubicSmoothRel::y() const
{
return m_y;
}
void SVGPathSegCurvetoCubicSmoothRel::setX2(float x2)
{
m_x2 = x2;
}
float SVGPathSegCurvetoCubicSmoothRel::x2() const
{
return m_x2;
}
void SVGPathSegCurvetoCubicSmoothRel::setY2(float y2)
{
m_y2 = y2;
}
float SVGPathSegCurvetoCubicSmoothRel::y2() const
{
return m_y2;
}
}
#endif // ENABLE(SVG)