fixed problem with approximation_scale - 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:
authorfrancesco-ST <francesco.abbate@st.com>2010年08月03日 16:16:05 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月03日 16:16:05 +0200
commit481e84cfa6cd828a5b3ab1c5af8bd8c598192783 (patch)
tree0276ef327f44c8deb5778391cd5d7be9209b42fb /agg-plot/drawable.cpp
parent988797d0f078c58d0dd15cc6c3d2c59640bbcf58 (diff)
downloadgsl-shell-481e84cfa6cd828a5b3ab1c5af8bd8c598192783.tar.gz
fixed problem with approximation_scale
Diffstat (limited to 'agg-plot/drawable.cpp')
-rw-r--r--agg-plot/drawable.cpp 4
1 files changed, 2 insertions, 2 deletions
diff --git a/agg-plot/drawable.cpp b/agg-plot/drawable.cpp
index d2d18354..4258d7a8 100644
--- a/agg-plot/drawable.cpp
+++ b/agg-plot/drawable.cpp
@@ -7,10 +7,10 @@
agg::trans_affine window_scalable::dummy_matrix;
void
-window_scalable::apply_transform(const agg::trans_affine& m)
+window_scalable::apply_transform(const agg::trans_affine& m, double as)
{
m_trans.transformer(m);
- m_source->approximation_scale (m.scale());
+ m_source->apply_transform (m, as * m.scale());
}
void
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月18日 11:13:30 +0000

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