gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas-window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/canvas-window.cpp')
-rw-r--r--agg-plot/canvas-window.cpp 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/canvas-window.cpp b/agg-plot/canvas-window.cpp
index 20c727b5..b8a21e11 100644
--- a/agg-plot/canvas-window.cpp
+++ b/agg-plot/canvas-window.cpp
@@ -175,11 +175,11 @@ int
canvas_window_draw_gener (lua_State *L, bool as_line)
{
canvas_window *win = canvas_window::check (L, 1);
- vertex_source *obj = parse_graph_args (L);
+ drawable *obj = parse_graph_args (L);
agg::rgba8 *color = check_color_rgba8 (L, 3);
const agg::trans_affine& mtx = win->transform();
- obj->apply_transform(mtx, 1.0);
+ obj->apply_transform(mtx);
bool success = win->draw(obj, color, as_line);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月23日 04:19:49 +0000

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