From 941ce93b6ae4e2f68a68f91049ef195e13cf8ebc Mon Sep 17 00:00:00 2001 From: francesco-ST Date: 2010年8月12日 15:50:30 +0200 Subject: 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. --- agg-plot/canvas.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'agg-plot/canvas.h') 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 void draw(VertexSource& vs, agg::rgba8 c) { -- cgit v1.2.3

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