improved text class - 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-ST <francesco.abbate@st.com>2010年08月05日 13:58:06 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年08月05日 13:58:06 +0200
commit19b34676bbbb009b5a60c572eebe82c447185b67 (patch)
tree3356c71e184649f7ec942c88844c8d9c381c497e /agg-plot/text.cpp
parent342f6c89dc388883f174e37627fb013190311a2d (diff)
downloadgsl-shell-19b34676bbbb009b5a60c572eebe82c447185b67.tar.gz
improved text class
Diffstat (limited to 'agg-plot/text.cpp')
-rw-r--r--agg-plot/text.cpp 3
1 files changed, 1 insertions, 2 deletions
diff --git a/agg-plot/text.cpp b/agg-plot/text.cpp
index 04f203dc..d3e50e85 100644
--- a/agg-plot/text.cpp
+++ b/agg-plot/text.cpp
@@ -27,8 +27,7 @@ namespace draw {
m.transform(&x, &y);
m_stroke.approximation_scale(as);
-
- m_text.start_point (0.0, 0.0);
+ m_text.start_point (-m_hjustif * m_text_width, -m_vjustif * m_text_height);
}
void
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月29日 14:48:35 +0000

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