author | francesco-ST <francesco.abbate@st.com> | 2010年08月05日 13:58:06 +0200 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年08月05日 13:58:06 +0200 |
commit | 19b34676bbbb009b5a60c572eebe82c447185b67 (patch) | |
tree | 3356c71e184649f7ec942c88844c8d9c381c497e /agg-plot/text.cpp | |
parent | 342f6c89dc388883f174e37627fb013190311a2d (diff) | |
download | gsl-shell-19b34676bbbb009b5a60c572eebe82c447185b67.tar.gz |
-rw-r--r-- | agg-plot/text.cpp | 3 |
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 |