summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h')
-rw-r--r--WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h b/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h
index fb3d51f..109799e 100644
--- a/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h
+++ b/WebCore/svg/SVGPathSegCurvetoQuadraticSmooth.h
@@ -32,22 +32,22 @@ namespace WebCore {
public:
static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> create(float x, float y) { return adoptRef(new SVGPathSegCurvetoQuadraticSmoothAbs(x, y)); }
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS; }
- virtual String pathSegTypeAsLetter() const { return "T"; }
-
private:
SVGPathSegCurvetoQuadraticSmoothAbs(float x, float y);
+
+ virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS; }
+ virtual String pathSegTypeAsLetter() const { return "T"; }
};
class SVGPathSegCurvetoQuadraticSmoothRel : public SVGPathSegSingleCoord {
public:
static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> create(float x, float y) { return adoptRef(new SVGPathSegCurvetoQuadraticSmoothRel(x, y)); }
- virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL; }
- virtual String pathSegTypeAsLetter() const { return "t"; }
-
private:
SVGPathSegCurvetoQuadraticSmoothRel(float x, float y);
+
+ virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL; }
+ virtual String pathSegTypeAsLetter() const { return "t"; }
};
} // namespace WebCore