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月12日 15:50:30 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月12日 15:50:30 +0200
commit941ce93b6ae4e2f68a68f91049ef195e13cf8ebc (patch)
tree897b976ab9f967dc241e45c5983077aa6cf273cf /agg-plot/canvas.h
parent11e74b41cb7712913d55942fdfe32770a5738475 (diff)
downloadgsl-shell-941ce93b6ae4e2f68a68f91049ef195e13cf8ebc.tar.gz
removed canvas_window methods
All the unused Lua methods for canvas_windows are removed. The window transform matrix was moved from canvas to canvas_window.
Diffstat (limited to 'agg-plot/canvas.h')
-rw-r--r--agg-plot/canvas.h 10
1 files changed, 0 insertions, 10 deletions
diff --git a/agg-plot/canvas.h b/agg-plot/canvas.h
index 3349ef73..25a1e258 100644
--- a/agg-plot/canvas.h
+++ b/agg-plot/canvas.h
@@ -48,8 +48,6 @@ class canvas {
agg::rgba bg_color;
- agg::trans_affine mtx;
-
double m_width;
double m_height;
@@ -65,7 +63,6 @@ public:
ras(), sl(), bg_color(bgcol),
m_width(width), m_height(height)
{
- mtx.scale(width, height);
#ifdef ENABLE_GAMMA_CORR
prof.width(1.5);
#else
@@ -78,13 +75,6 @@ public:
void clear() { rb.clear(bg_color); };
- const agg::trans_affine& trans_matrix() const { return 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.25.1) at 2025年09月17日 12:45:54 +0000

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