From 426d707efc9845a1230a8f8fa984338719a151a7 Mon Sep 17 00:00:00 2001 From: francesco-ST Date: 2010年7月15日 13:57:44 +0200 Subject: added "extend" transform for pre3d rendering The "extend" transform corresponds to agg::conv_contour and it allows to extend/shrink a polygon. Removed the on_draw callback. --- agg-plot/plot-window.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'agg-plot/plot-window.cpp') diff --git a/agg-plot/plot-window.cpp b/agg-plot/plot-window.cpp index 70fec188..655bb5e7 100644 --- a/agg-plot/plot-window.cpp +++ b/agg-plot/plot-window.cpp @@ -88,7 +88,6 @@ public: delete m_canvas; }; - virtual void on_draw(); virtual void on_init(); virtual void on_resize(int sx, int sy); @@ -121,16 +120,6 @@ plot_window::on_init() m_canvas = new canvas(rbuf_window(), width(), height(), m_bgcolor); } -void -plot_window::on_draw() -{ - printf("on draw!\n"); - if (! m_canvas) - return; - - m_canvas->clear(); -}; - void plot_window::on_resize(int sx, int sy) { -- cgit v1.2.3

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