author | francesco <francesco.bbt@gmail.com> | 2010年10月24日 00:56:10 +0200 |
---|---|---|
committer | francesco <francesco.bbt@gmail.com> | 2010年10月24日 00:56:10 +0200 |
commit | b3f1247acef37c6c8894788e2055ebd59228c0d2 (patch) | |
tree | c32269a3c678027239a05a32185cdcc07f6a84ab /agg-plot/text.cpp | |
parent | e1d06a81b148252b25fea22c47e29abc95e86ea4 (diff) | |
download | gsl-shell-b3f1247acef37c6c8894788e2055ebd59228c0d2.tar.gz |
-rw-r--r-- | agg-plot/text.cpp | 2 |
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 |