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 4
1 files changed, 4 insertions, 0 deletions
diff --git a/agg-plot/drawable.h b/agg-plot/drawable.h
index a4fb7df6..d3ddfa82 100644
--- a/agg-plot/drawable.h
+++ b/agg-plot/drawable.h
@@ -7,6 +7,7 @@
#include "agg_trans_affine.h"
#include "agg_conv_transform.h"
#include "agg_bounding_rect.h"
+#include "agg_color_rgba.h"
struct drawable : public vertex_source {
virtual void bounding_box(double *x1, double *y1, double *x2, double *y2) = 0;
@@ -25,6 +26,9 @@ class boxed_drawable : public drawable {
virtual unsigned vertex(double* x, double* y) { return m_object->vertex(x, y); };
virtual void apply_transform(const agg::trans_affine& m, double as) { m_object->apply_transform(m, as); };
+ virtual str write_svg(int id, agg::rgba8 c) { return m_object->write_svg(id, c); }
+ virtual svg_property_list* svg_path(str& s) { return m_object->svg_path(s); }
+
virtual void bounding_box(double *x1, double *y1, double *x2, double *y2)
{
m_object->bounding_box(x1, y1, x2, y2);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月17日 22:47:11 +0000

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