gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/window-cpp.h
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年09月14日 14:43:17 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年09月14日 14:43:17 +0200
commitb08f3d4033af5d7f2f5e715cef54a7e695de2a35 (patch)
tree3801d3ca6fe628fe7e3bd71840d7b66707dfff32 /agg-plot/window-cpp.h
parent6437833a3359390ce4126bb0934585e0345ccb32 (diff)
downloadgsl-shell-b08f3d4033af5d7f2f5e715cef54a7e695de2a35.tar.gz
fixed window code to handle resizing and when layer image is not cached
Diffstat (limited to 'agg-plot/window-cpp.h')
-rw-r--r--agg-plot/window-cpp.h 4
1 files changed, 4 insertions, 0 deletions
diff --git a/agg-plot/window-cpp.h b/agg-plot/window-cpp.h
index 42abcfc3..359520eb 100644
--- a/agg-plot/window-cpp.h
+++ b/agg-plot/window-cpp.h
@@ -38,6 +38,9 @@ public:
~ref() { if (layer_buf) delete layer_buf; };
+ void save_image (agg::rendering_buffer& winbuf, agg::rect_base<int>& r,
+ int bpp, bool flip_y);
+
static void compose(bmatrix& a, const bmatrix& b);
static int calculate(node *t, const bmatrix& m, int id);
};
@@ -76,4 +79,5 @@ public:
void draw_slot(int slot_id);
virtual void on_draw();
+ virtual void on_resize(int sx, int sy);
};
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月13日 21:14:33 +0000

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