From: johanengelen Date: Sun, 29 Jun 2008 11:31:37 +0000 (+0000) Subject: add commented HLineSegment and VLineSegment to svg writer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=981f4b344eba9ea3005ca70a59537240878f01e6;p=inkscape.git add commented HLineSegment and VLineSegment to svg writer --- 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);