From 19b34676bbbb009b5a60c572eebe82c447185b67 Mon Sep 17 00:00:00 2001 From: francesco-ST Date: Thu, 5 Aug 2010 13:58:06 +0200 Subject: improved text class --- agg-plot/text.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'agg-plot/text.cpp') 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 -- cgit v1.2.3

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