fixed bug related to text bounding rect calculation - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/text.cpp
diff options
context:
space:
mode:
authorfrancesco <francesco.bbt@gmail.com>2010年10月24日 00:56:10 +0200
committerfrancesco <francesco.bbt@gmail.com>2010年10月24日 00:56:10 +0200
commitb3f1247acef37c6c8894788e2055ebd59228c0d2 (patch)
treec32269a3c678027239a05a32185cdcc07f6a84ab /agg-plot/text.cpp
parente1d06a81b148252b25fea22c47e29abc95e86ea4 (diff)
downloadgsl-shell-b3f1247acef37c6c8894788e2055ebd59228c0d2.tar.gz
fixed bug related to text bounding rect calculation
Diffstat (limited to 'agg-plot/text.cpp')
-rw-r--r--agg-plot/text.cpp 2
1 files changed, 1 insertions, 1 deletions
diff --git a/agg-plot/text.cpp b/agg-plot/text.cpp
index a13e2126..b1935d1b 100644
--- a/agg-plot/text.cpp
+++ b/agg-plot/text.cpp
@@ -6,6 +6,7 @@ namespace draw {
void
text::rewind(unsigned path_id)
{
+ m_text.start_point (-m_hjustif * m_text_width, -m_vjustif * m_text_height);
m_stroke.rewind(path_id);
}
@@ -27,7 +28,6 @@ namespace draw {
m.transform(&x, &y);
m_stroke.approximation_scale(as);
- m_text.start_point (-m_hjustif * m_text_width, -m_vjustif * m_text_height);
}
void
generated by cgit v1.2.3 (git 2.46.0) at 2025年09月30日 10:30:48 +0000

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