diff options
author | Kristian Monsen <kristianm@google.com> | 2010-09-08 12:18:00 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2010-09-11 12:08:58 +0100 |
commit | 5ddde30071f639962dd557c453f2ad01f8f0fd00 (patch) | |
tree | 775803c4ab35af50aa5f5472cd1fb95fe9d5152d /WebCore/svg/SVGPathSegCurvetoCubicSmooth.h | |
parent | 3e63d9b33b753ca86d0765d1b3d711114ba9e34f (diff) | |
download | external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.zip external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.tar.gz external_webkit-5ddde30071f639962dd557c453f2ad01f8f0fd00.tar.bz2 |
Merge WebKit at r66666 : Initial merge by git.
Change-Id: I57dedeb49859adc9c539e760f0e749768c66626f
Diffstat (limited to 'WebCore/svg/SVGPathSegCurvetoCubicSmooth.h')
-rw-r--r-- | WebCore/svg/SVGPathSegCurvetoCubicSmooth.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h b/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h index bc8895c..2227951 100644 --- a/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h +++ b/WebCore/svg/SVGPathSegCurvetoCubicSmooth.h @@ -31,7 +31,12 @@ namespace WebCore { class SVGPathSegCurvetoCubicSmooth : public SVGPathSeg { public: SVGPathSegCurvetoCubicSmooth(float x, float y, float x2, float y2) - : m_x(x), m_y(y), m_x2(x2), m_y2(y2) { } + : m_x(x) + , m_y(y) + , m_x2(x2) + , m_y2(y2) + { + } void setX(float x) { m_x = x; } float x() const { return m_x; } @@ -56,22 +61,22 @@ namespace WebCore { public: static PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> create(float x, float y, float x2, float y2) { return adoptRef(new SVGPathSegCurvetoCubicSmoothAbs(x, y, x2, y2)); } - virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_ABS; } - virtual String pathSegTypeAsLetter() const { return "S"; } - private: SVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2); + + virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_ABS; } + virtual String pathSegTypeAsLetter() const { return "S"; } }; class SVGPathSegCurvetoCubicSmoothRel : public SVGPathSegCurvetoCubicSmooth { public: static PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> create(float x, float y, float x2, float y2) { return adoptRef(new SVGPathSegCurvetoCubicSmoothRel(x, y, x2, y2)); } - virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_REL; } - virtual String pathSegTypeAsLetter() const { return "s"; } - private: SVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2); + + virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_REL; } + virtual String pathSegTypeAsLetter() const { return "s"; } }; } // namespace WebCore |