first multiple window implementation - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas.h
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月09日 15:50:43 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月09日 15:50:43 +0200
commit129604a18b0f93e89cf638a079b6f1ab349fbe8f (patch)
tree8abeb52bc7a01472ba505aebaa36fb2ef1765646 /agg-plot/canvas.h
parent99c6c9b47f25eb7bc8756d5b2a5fd5ec7dac73e6 (diff)
downloadgsl-shell-129604a18b0f93e89cf638a079b6f1ab349fbe8f.tar.gz
first multiple window implementation
Still work in progress. The real function to split the window should be implemented. A problem is pending: references to plot are added but never removed.
Diffstat (limited to 'agg-plot/canvas.h')
-rw-r--r--agg-plot/canvas.h 6
1 files changed, 5 insertions, 1 deletions
diff --git a/agg-plot/canvas.h b/agg-plot/canvas.h
index 6599a246..3349ef73 100644
--- a/agg-plot/canvas.h
+++ b/agg-plot/canvas.h
@@ -79,7 +79,11 @@ public:
void clear() { rb.clear(bg_color); };
const agg::trans_affine& trans_matrix() const { return mtx; };
- void scale(agg::trans_affine& m) const { trans_affine_compose (m, mtx); };
+
+ void premultiply(agg::trans_affine& m) const
+ {
+ trans_affine_compose (m, mtx);
+ };
template<class VertexSource>
void draw(VertexSource& vs, agg::rgba8 c)
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月16日 17:11:39 +0000

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