gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas_svg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/canvas_svg.cpp')
-rw-r--r--agg-plot/canvas_svg.cpp 18
1 files changed, 9 insertions, 9 deletions
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, " ");
}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月17日 17:08:18 +0000

AltStyle によって変換されたページ (->オリジナル) /