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 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/canvas_svg.cpp b/agg-plot/canvas_svg.cpp
index 9cb97e1b..fc5a859e 100644
--- a/agg-plot/canvas_svg.cpp
+++ b/agg-plot/canvas_svg.cpp
@@ -6,7 +6,7 @@ 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);
+ str s = vs.write_svg(id, c, m_height);
canvas_svg::writeln(m_output, s, " ");
}
@@ -15,7 +15,7 @@ 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);
+ svg_property_list* ls = vs.svg_path(path, m_height);
str s = svg_stroke_path(path, canvas_svg::default_stroke_width, id, c, ls);
list::free(ls);
canvas_svg::writeln(m_output, s, " ");
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 15:06:52 +0000

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