gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/drawable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/drawable.cpp')
-rw-r--r--agg-plot/drawable.cpp 39
1 files changed, 0 insertions, 39 deletions
diff --git a/agg-plot/drawable.cpp b/agg-plot/drawable.cpp
deleted file mode 100644
index 6be6eb85..00000000
--- a/agg-plot/drawable.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-
-#include "agg_bounding_rect.h"
-
-#include "drawable.h"
-#include "utils.h"
-
-void
-window_scalable::apply_transform(const agg::trans_affine& m, double as)
-{
- m_trans.transformer(m);
- m_source->apply_transform (m, as * m.scale());
-}
-
-void
-window_scalable::bounding_box(double *x1, double *y1,
- double *x2, double *y2)
-{
- agg::bounding_rect_single (*m_source, 0, x1, y1, x2, y2);
-}
-
-void
-window_scalable::rewind(unsigned path_id)
-{
- m_trans.rewind(path_id);
-}
-
-unsigned
-window_scalable::vertex(double* x, double* y)
-{
- return m_trans.vertex(x, y);
-}
-
-bool
-window_scalable::dispose()
-{
- if (m_source->dispose())
- delete m_source;
- return true;
-}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月15日 23:09:31 +0000

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