-rw-r--r-- | agg-plot/canvas_svg.cpp | 18 |
diff --git a/agg-plot/canvas_svg.cpp b/agg-plot/canvas_svg.cpp index e5ef6d88..5480495b 100644 --- a/agg-plot/canvas_svg.cpp +++ b/agg-plot/canvas_svg.cpp @@ -5,18 +5,18 @@ const double canvas_svg::default_stroke_width = 1.0; template <> void canvas_svg::draw<sg_object>(sg_object& vs, agg::rgba8 c) { - int id = m_current_id ++; - str s = vs.write_svg(id, c, m_height); - canvas_svg::writeln(m_output, s, " "); + int id = m_current_id ++; + str s = vs.write_svg(id, c, m_height); + canvas_svg::writeln(m_output, s, " "); } template <> void canvas_svg::draw_outline<sg_object>(sg_object& vs, agg::rgba8 c) { - int id = m_current_id ++; - str path; - svg_property_list* ls = vs.svg_path(path, m_height); - str s = svg_stroke_path(path, canvas_svg::default_stroke_width, id, c, ls); - svg_property_list::free(ls); - canvas_svg::writeln(m_output, s, " "); + int id = m_current_id ++; + str path; + svg_property_list* ls = vs.svg_path(path, m_height); + str s = svg_stroke_path(path, canvas_svg::default_stroke_width, id, c, ls); + svg_property_list::free(ls); + canvas_svg::writeln(m_output, s, " "); } |