Remove code to manage negative canvas size in Y - 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:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年01月24日 19:11:33 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年01月30日 21:26:02 +0100
commit349fb72c939405efb9a25aea3fbd90da2f10a8f8 (patch)
tree1baf8ee0fb4de3c4ea697d1bc81f73ddfbf8dfb1 /agg-plot/lua-plot.cpp
parentcba327706ed34d8c3166a748a3114d5a9ddc10b0 (diff)
downloadgsl-shell-349fb72c939405efb9a25aea3fbd90da2f10a8f8.tar.gz
Remove code to manage negative canvas size in Y
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 1bf9e8ec..5c3d481d 100644
--- a/agg-plot/lua-plot.cpp
+++ b/agg-plot/lua-plot.cpp
@@ -549,7 +549,7 @@ plot_save_svg (lua_State *L)
return luaL_error(L, "cannot open filename: %s", filename);
canvas_svg canvas(f, h);
- agg::trans_affine m(w, 0.0, 0.0, -h, 0.0, h);
+ agg::trans_affine_scaling m(w, h);
canvas.write_header(w, h);
p->draw(canvas, m);
canvas.write_end();
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 11:42:16 +0000

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