summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGPathSegLineto.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGPathSegLineto.h')
-rw-r--r--WebCore/svg/SVGPathSegLineto.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/svg/SVGPathSegLineto.h b/WebCore/svg/SVGPathSegLineto.h
index 9b69bf0..3cd3b7f 100644
--- a/WebCore/svg/SVGPathSegLineto.h
+++ b/WebCore/svg/SVGPathSegLineto.h
@@ -27,27 +27,27 @@
#include "SVGPathSeg.h"
namespace WebCore {
+
class SVGPathSegLinetoAbs : public SVGPathSegSingleCoord {
public:
static PassRefPtr<SVGPathSegLinetoAbs> create(float x, float y) { return adoptRef(new SVGPathSegLinetoAbs(x, y)); }
- virtual unsigned short pathSegType() const { return PATHSEG_LINETO_ABS; }
- virtual String pathSegTypeAsLetter() const { return "L"; }
-
private:
SVGPathSegLinetoAbs(float x, float y);
+
+ virtual unsigned short pathSegType() const { return PATHSEG_LINETO_ABS; }
+ virtual String pathSegTypeAsLetter() const { return "L"; }
};
class SVGPathSegLinetoRel : public SVGPathSegSingleCoord {
public:
static PassRefPtr<SVGPathSegLinetoRel> create(float x, float y) { return adoptRef(new SVGPathSegLinetoRel(x, y)); }
+ private:
+ SVGPathSegLinetoRel(float x, float y);
virtual unsigned short pathSegType() const { return PATHSEG_LINETO_REL; }
virtual String pathSegTypeAsLetter() const { return "l"; }
-
- private:
- SVGPathSegLinetoRel(float x, float y);
};
} // namespace WebCore