multiple affine transforms get simplified into a single transform - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/trans.h
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年12月28日 15:13:17 +0100
committerfrancesco-ST <francesco.abbate@st.com>2010年12月28日 15:13:17 +0100
commit5aee3720742fe153fe5937e0fd7981c1c95cd6cc (patch)
treedf13d14a231de74eea47727a6233a83bfe7b0b7a /agg-plot/trans.h
parent45ae5dceb38d665e446960618cb8c1cda5f5afc5 (diff)
downloadgsl-shell-5aee3720742fe153fe5937e0fd7981c1c95cd6cc.tar.gz
multiple affine transforms get simplified into a single transform
Diffstat (limited to 'agg-plot/trans.h')
-rw-r--r--agg-plot/trans.h 6
1 files changed, 6 insertions, 0 deletions
diff --git a/agg-plot/trans.h b/agg-plot/trans.h
index 00bd40c2..71727d12 100644
--- a/agg-plot/trans.h
+++ b/agg-plot/trans.h
@@ -86,6 +86,12 @@ struct trans {
{
this->m_source->apply_transform(m, as * m_norm);
};
+
+ virtual bool affine_compose(agg::trans_affine& m)
+ {
+ trans_affine_compose (this->m_matrix, m);
+ return true;
+ };
};
typedef agg::conv_transform<vertex_source> symbol_type;
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月26日 06:23:02 +0000

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