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:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年10月15日 13:11:54 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年10月15日 13:11:54 +0200
commit137e4d264c73b3087a5d0968362c5b9ca3108f2d (patch)
treea80691d187615ec2e63f25182be7895b9a8a313f /agg-plot/canvas_svg.cpp
parent7d157c5bd8ddf920094907a35c9329ce0688e3d4 (diff)
downloadgsl-shell-137e4d264c73b3087a5d0968362c5b9ca3108f2d.tar.gz
Using AStyle of all the C and C++ source and header files
Using default AStyle formatting, "allman" style.
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.25.1) at 2025年09月15日 09:23:13 +0000

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