author | francesco <francesco.bbt@gmail.com> | 2010年11月26日 23:16:08 +0100 |
---|---|---|
committer | francesco <francesco.bbt@gmail.com> | 2010年11月26日 23:16:08 +0100 |
commit | 988961d3651dba3d13c208c852c424f2d97db658 (patch) | |
tree | 9ca45dd5669a2027e112c21e17ed13d2e515b459 /agg-plot/lua-plot.cpp | |
parent | 8a0a8f276f0ef0e1395f4dcb563dc80dd7c80321 (diff) | |
download | gsl-shell-988961d3651dba3d13c208c852c424f2d97db658.tar.gz |
-rw-r--r-- | agg-plot/lua-plot.cpp | 2 |
diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp index af130527..12971bb7 100644 --- a/agg-plot/lua-plot.cpp +++ b/agg-plot/lua-plot.cpp @@ -25,6 +25,7 @@ extern "C" { #include "lua-plot.h" #include "lua-plot-cpp.h" +#include "bitmap-plot.h" #include "window.h" #include "gs-types.h" #include "lua-utils.h" @@ -83,6 +84,7 @@ static const struct luaL_Reg plot_methods[] = { {"pushlayer", plot_push_layer }, {"poplayer", plot_pop_layer }, {"clear", plot_clear }, + {"save", bitmap_save_image }, {"__index", plot_index }, {"__newindex", plot_newindex }, {"__gc", plot_free }, |