diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-29 11:31:37 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-29 11:31:37 +0000 |
| commit | 525a06f8f7a66dfa78434de19bb23025c00db32d (patch) | |
| tree | 3e551fdbbde5b08d4e9f16972f0ff14e84daf124 /src/svg/svg-path.cpp | |
| parent | warning cleanup (diff) | |
| download | inkscape-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.cpp | 5 |
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); |
