From 554468f7e205e4ae9873e901980c485ba0965058 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: 2011年12月13日 14:43:46 +0100 Subject: Simplify implementation of graphical objects --- agg-plot/bitmap-plot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'agg-plot/bitmap-plot.cpp') 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(L, 1, GS_PLOT); + sg_plot *p = object_check(L, 1, GS_PLOT); const char *fn = luaL_checkstring (L, 2); int w = luaL_optint (L, 3, 480), h = luaL_optint (L, 4, 480); -- cgit v1.2.3

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