gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/bitmap-plot.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2011年12月13日 14:43:46 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2011年12月16日 23:56:12 +0100
commit554468f7e205e4ae9873e901980c485ba0965058 (patch)
treee8e545eaf0e5ccdace62e99919ae5b6e92beede3 /agg-plot/bitmap-plot.cpp
parentaee6826a547dd043248e8d212d5f0645068ecf05 (diff)
downloadgsl-shell-554468f7e205e4ae9873e901980c485ba0965058.tar.gz
Simplify implementation of graphical objects
Diffstat (limited to 'agg-plot/bitmap-plot.cpp')
-rw-r--r--agg-plot/bitmap-plot.cpp 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/bitmap-plot.cpp b/agg-plot/bitmap-plot.cpp
index 9ae6469a..ec92f131 100644
--- a/agg-plot/bitmap-plot.cpp
+++ b/agg-plot/bitmap-plot.cpp
@@ -14,7 +14,7 @@ extern "C" {
#include "platform_support_ext.h"
void
-bitmap_save_image_cpp (lua_plot *p, const char *fn, unsigned w, unsigned h,
+bitmap_save_image_cpp (sg_plot *p, const char *fn, unsigned w, unsigned h,
gslshell::ret_status& st)
{
try {
@@ -46,7 +46,7 @@ bitmap_save_image_cpp (lua_plot *p, const char *fn, unsigned w, unsigned h,
int
bitmap_save_image (lua_State *L)
{
- lua_plot *p = object_check<lua_plot>(L, 1, GS_PLOT);
+ sg_plot *p = object_check<sg_plot>(L, 1, GS_PLOT);
const char *fn = luaL_checkstring (L, 2);
int w = luaL_optint (L, 3, 480), h = luaL_optint (L, 4, 480);
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月12日 19:53:29 +0000

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