SVGPathSegCurvetoCubic.cpp [plain text]
#include "config.h"
#if ENABLE(SVG)
#include "SVGPathSegCurvetoCubic.h"
#include "SVGStyledElement.h"
namespace WebCore {
SVGPathSegCurvetoCubicAbs::SVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2)
: SVGPathSeg()
, m_x(x)
, m_y(y)
, m_x1(x1)
, m_y1(y1)
, m_x2(x2)
, m_y2(y2)
{
}
SVGPathSegCurvetoCubicAbs::~SVGPathSegCurvetoCubicAbs()
{
}
void SVGPathSegCurvetoCubicAbs::setX(float x)
{
m_x = x;
}
float SVGPathSegCurvetoCubicAbs::x() const
{
return m_x;
}
void SVGPathSegCurvetoCubicAbs::setY(float y)
{
m_y = y;
}
float SVGPathSegCurvetoCubicAbs::y() const
{
return m_y;
}
void SVGPathSegCurvetoCubicAbs::setX1(float x1)
{
m_x1 = x1;
}
float SVGPathSegCurvetoCubicAbs::x1() const
{
return m_x1;
}
void SVGPathSegCurvetoCubicAbs::setY1(float y1)
{
m_y1 = y1;
}
float SVGPathSegCurvetoCubicAbs::y1() const
{
return m_y1;
}
void SVGPathSegCurvetoCubicAbs::setX2(float x2)
{
m_x2 = x2;
}
float SVGPathSegCurvetoCubicAbs::x2() const
{
return m_x2;
}
void SVGPathSegCurvetoCubicAbs::setY2(float y2)
{
m_y2 = y2;
}
float SVGPathSegCurvetoCubicAbs::y2() const
{
return m_y2;
}
SVGPathSegCurvetoCubicRel::SVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2)
: SVGPathSeg()
, m_x(x)
, m_y(y)
, m_x1(x1)
, m_y1(y1)
, m_x2(x2)
, m_y2(y2)
{
}
SVGPathSegCurvetoCubicRel::~SVGPathSegCurvetoCubicRel()
{
}
void SVGPathSegCurvetoCubicRel::setX(float x)
{
m_x = x;
}
float SVGPathSegCurvetoCubicRel::x() const
{
return m_x;
}
void SVGPathSegCurvetoCubicRel::setY(float y)
{
m_y = y;
}
float SVGPathSegCurvetoCubicRel::y() const
{
return m_y;
}
void SVGPathSegCurvetoCubicRel::setX1(float x1)
{
m_x1 = x1;
}
float SVGPathSegCurvetoCubicRel::x1() const
{
return m_x1;
}
void SVGPathSegCurvetoCubicRel::setY1(float y1)
{
m_y1 = y1;
}
float SVGPathSegCurvetoCubicRel::y1() const
{
return m_y1;
}
void SVGPathSegCurvetoCubicRel::setX2(float x2)
{
m_x2 = x2;
}
float SVGPathSegCurvetoCubicRel::x2() const
{
return m_x2;
}
void SVGPathSegCurvetoCubicRel::setY2(float y2)
{
m_y2 = y2;
}
float SVGPathSegCurvetoCubicRel::y2() const
{
return m_y2;
}
}
#endif // ENABLE(SVG)