gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/drawable.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/drawable.h')
-rw-r--r--agg-plot/drawable.h 13
1 files changed, 5 insertions, 8 deletions
diff --git a/agg-plot/drawable.h b/agg-plot/drawable.h
index 37f4c980..4e4f1b6a 100644
--- a/agg-plot/drawable.h
+++ b/agg-plot/drawable.h
@@ -6,18 +6,15 @@
#include "agg_trans_affine.h"
#include "agg_conv_transform.h"
-// Interface
-struct window_object {
-public:
+struct drawable {
+
+ virtual void rewind(unsigned path_id) = 0;
+ virtual unsigned vertex(double* x, double* y) = 0;
+
virtual void apply_transform(const agg::trans_affine& m, double as) = 0;
virtual void bounding_box(double *x1, double *y1, double *x2, double *y2) = 0;
-
virtual bool dispose() = 0;
- virtual ~window_object() { };
-};
-
-struct drawable: public vertex_source, public window_object {
virtual ~drawable() { };
};
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月21日 05:55:34 +0000

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