gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-plot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/lua-plot.cpp')
-rw-r--r--agg-plot/lua-plot.cpp 2
1 files changed, 1 insertions, 1 deletions
diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp
index 2f34add2..1bf9e8ec 100644
--- a/agg-plot/lua-plot.cpp
+++ b/agg-plot/lua-plot.cpp
@@ -548,7 +548,7 @@ plot_save_svg (lua_State *L)
if (!f)
return luaL_error(L, "cannot open filename: %s", filename);
- canvas_svg canvas(f);
+ canvas_svg canvas(f, h);
agg::trans_affine m(w, 0.0, 0.0, -h, 0.0, h);
canvas.write_header(w, h);
p->draw(canvas, m);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 19:56:02 +0000

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