gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/scalable.h
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月03日 16:21:43 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月03日 16:21:43 +0200
commit8ed2c9566077d71e77846c3acc8ab7edb9a6bcc6 (patch)
treecee3c8f0e8b31b013049dafcbdcb9c02b6d23f82 /agg-plot/scalable.h
parent481e84cfa6cd828a5b3ab1c5af8bd8c598192783 (diff)
downloadgsl-shell-8ed2c9566077d71e77846c3acc8ab7edb9a6bcc6.tar.gz
simplified scalable/drawable class
Diffstat (limited to 'agg-plot/scalable.h')
-rw-r--r--agg-plot/scalable.h 11
1 files changed, 2 insertions, 9 deletions
diff --git a/agg-plot/scalable.h b/agg-plot/scalable.h
index 2521426d..fcc7c4eb 100644
--- a/agg-plot/scalable.h
+++ b/agg-plot/scalable.h
@@ -23,21 +23,14 @@
#include "agg_trans_affine.h"
-struct vertex_source {
+struct scalable {
+
virtual void rewind(unsigned path_id) = 0;
virtual unsigned vertex(double* x, double* y) = 0;
- virtual ~vertex_source() { };
-};
-
-struct scalable_object {
virtual void apply_transform(const agg::trans_affine& m, double as) = 0;
virtual bool dispose() = 0;
- virtual ~scalable_object() { };
-};
-
-struct scalable : public vertex_source, public scalable_object {
virtual ~scalable() { };
};
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月17日 00:31:46 +0000

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