gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/text.h
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年10月22日 15:46:07 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年10月22日 15:46:07 +0200
commite1d06a81b148252b25fea22c47e29abc95e86ea4 (patch)
tree5ac6593477800de35c1f268fc11214ce07e59a28 /agg-plot/text.h
parent60e7238f4c48e7653c4627c6bd78b959044687e9 (diff)
downloadgsl-shell-e1d06a81b148252b25fea22c47e29abc95e86ea4.tar.gz
fixed error with bounding box calculation / code simplification
The "dispose" method was no longer needed. Now we use normal destructors.
Diffstat (limited to 'agg-plot/text.h')
-rw-r--r--agg-plot/text.h 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/text.h b/agg-plot/text.h
index e5e5a6ff..7988fda7 100644
--- a/agg-plot/text.h
+++ b/agg-plot/text.h
@@ -10,7 +10,7 @@
namespace draw {
- class text : public vertex_source {
+ class text : public drawable {
typedef agg::gsv_text vs_text;
typedef agg::conv_transform<vs_text> vs_trans_text;
typedef agg::conv_stroke<vs_trans_text> vs_stroked_text;
@@ -88,8 +88,8 @@ namespace draw {
virtual void rewind(unsigned path_id);
virtual unsigned vertex(double* x, double* y);
-
virtual void apply_transform(const agg::trans_affine& m, double as);
+ virtual void bounding_box(double *x1, double *y1, double *x2, double *y2);
vs_text& self() { return m_text; };
};
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月16日 20:23:27 +0000

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