summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-29 11:31:37 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-29 11:31:37 +0000
commit525a06f8f7a66dfa78434de19bb23025c00db32d (patch)
tree3e551fdbbde5b08d4e9f16972f0ff14e84daf124 /src/svg/svg-path.cpp
parentwarning cleanup (diff)
downloadinkscape-525a06f8f7a66dfa78434de19bb23025c00db32d.tar.gz
inkscape-525a06f8f7a66dfa78434de19bb23025c00db32d.zip
add commented HLineSegment and VLineSegment to svg writer
(bzr r6085)
Diffstat (limited to 'src/svg/svg-path.cpp')
-rw-r--r--src/svg/svg-path.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp
index 353bb1da3..9c305eebe 100644
--- a/src/svg/svg-path.cpp
+++ b/src/svg/svg-path.cpp
@@ -753,6 +753,11 @@ static void sp_svg_write_curve(Inkscape::SVG::PathString & str, Geom::Curve cons
svg_elliptical_arc->rotation_angle(),
svg_elliptical_arc->large_arc_flag(), svg_elliptical_arc->sweep_flag(),
svg_elliptical_arc->finalPoint() );
+/* else if(Geom::HLineSegment const *hline_segment = dynamic_cast<Geom::HLineSegment const *>(c)) {
+ str.horizontalLineTo( ... );
+ }
+ else if(Geom::VLineSegment const *vline_segment = dynamic_cast<Geom::VLineSegment const *>(c)) {
+ str.verticalLineTo( ... ); */
} else {
//this case handles sbasis as well as all other curve types
Geom::Path sbasis_path = Geom::path_from_sbasis(c->toSBasis(), 0.1);