From 981f4b344eba9ea3005ca70a59537240878f01e6 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sun, 29 Jun 2008 11:31:37 +0000 Subject: [PATCH] add commented HLineSegment and VLineSegment to svg writer --- src/svg/svg-path.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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(c)) { + str.horizontalLineTo( ... ); + } + else if(Geom::VLineSegment const *vline_segment = dynamic_cast(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); -- 2.30.2