author | francesco-ST <francesco.abbate@st.com> | 2010年10月21日 17:54:30 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年10月21日 17:54:30 +0200 |
commit | f2a6a9203f69006b9aee94f96dc19d638047f67a (patch) | |
tree | ab19e56a5695a4e2efcb52c6c7e9837abacbc098 /agg-plot/trans.h | |
parent | c2531ad7f2dc7bfae6357bacc28e7f6a3591d48d (diff) | |
download | gsl-shell-f2a6a9203f69006b9aee94f96dc19d638047f67a.tar.gz |
-rw-r--r-- | agg-plot/trans.h | 8 |
diff --git a/agg-plot/trans.h b/agg-plot/trans.h index 9249cb2a..00bd40c2 100644 --- a/agg-plot/trans.h +++ b/agg-plot/trans.h @@ -88,15 +88,15 @@ struct trans { }; }; - typedef agg::conv_transform<scalable> symbol_type; + typedef agg::conv_transform<vertex_source> symbol_type; typedef my::conv_simple_marker<base_type, symbol_type> marker_base; typedef typename context::template adapter<marker_base, false> vs_marker; class marker : public vs_marker { double m_size; - scalable* m_symbol; + vertex_source* m_symbol; agg::trans_affine m_matrix; - agg::conv_transform<scalable> m_trans; + agg::conv_transform<vertex_source> m_trans; public: marker(base_type* src, double size, const char *sym): @@ -109,7 +109,7 @@ struct trans { ~marker() { - lua_management::dispose(m_symbol); + delete m_symbol; }; virtual void apply_transform(const agg::trans_affine& m, double as) |