summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 24a10b6)
raw | patch | inline | side by side (parent: 24a10b6)
author | bryce <bryce@users.sourceforge.net> | |
Mon, 31 Dec 2007 08:22:26 +0000 (08:22 +0000) | ||
committer | bryce <bryce@users.sourceforge.net> | |
Mon, 31 Dec 2007 08:22:26 +0000 (08:22 +0000) |
(Patch from LP: #178123)
src/2geom/svg-path.h | patch | blob | history |
diff --git a/src/2geom/svg-path.h b/src/2geom/svg-path.h
index ebc23a9b5383a0067dc77f17c144a7ca9da9f104..7dd2f31ac5ec76a8b368d52164e539a233b7ea35 100644 (file)
--- a/src/2geom/svg-path.h
+++ b/src/2geom/svg-path.h
}
//TODO: what if _in_path = false?
void lineTo(Point p) {
- _path.appendNew<LineSegment>(p);
+ _path.template appendNew<LineSegment>(p);
}
void quadTo(Point c, Point p) {
- _path.appendNew<QuadraticBezier>(c, p);
+ _path.template appendNew<QuadraticBezier>(c, p);
}
void curveTo(Point c0, Point c1, Point p) {
- _path.appendNew<CubicBezier>(c0, c1, p);
+ _path.template appendNew<CubicBezier>(c0, c1, p);
}
void arcTo(double rx, double ry, double angle,
bool large_arc, bool sweep, Point p)
{
- _path.appendNew<SVGEllipticalArc>(rx, ry, angle,
+ _path.template appendNew<SVGEllipticalArc>(rx, ry, angle,
large_arc, sweep, p);
}