gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/canvas.h')
-rw-r--r--agg-plot/canvas.h 6
1 files changed, 5 insertions, 1 deletions
diff --git a/agg-plot/canvas.h b/agg-plot/canvas.h
index 6599a246..3349ef73 100644
--- a/agg-plot/canvas.h
+++ b/agg-plot/canvas.h
@@ -79,7 +79,11 @@ public:
void clear() { rb.clear(bg_color); };
const agg::trans_affine& trans_matrix() const { return mtx; };
- void scale(agg::trans_affine& m) const { trans_affine_compose (m, mtx); };
+
+ void premultiply(agg::trans_affine& m) const
+ {
+ trans_affine_compose (m, mtx);
+ };
template<class VertexSource>
void draw(VertexSource& vs, agg::rgba8 c)
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月17日 05:03:39 +0000

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