author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年08月07日 21:56:01 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年08月07日 21:56:01 +0200 |
commit | 4bfeb9c5c24e3927bf2e49479166c64d13b2a23c (patch) | |
tree | 16e15d73a2f8205a1366dda3cf1e4217022ce1d4 /agg-plot/text-shape.h | |
parent | b1ced8325ff73de83a7f0113ff3b7c448092df6b (diff) | |
download | gsl-shell-4bfeb9c5c24e3927bf2e49479166c64d13b2a23c.tar.gz |
-rw-r--r-- | agg-plot/text-shape.h | 4 |
diff --git a/agg-plot/text-shape.h b/agg-plot/text-shape.h index 53d1999c..e8dff0ce 100644 --- a/agg-plot/text-shape.h +++ b/agg-plot/text-shape.h @@ -13,7 +13,7 @@ namespace draw { m_text_label(text, round(_size)), m_x(x), m_y(y), m_font_size(_size), m_size(_size) { m_matrix.tx = m_x; - m_matrix.ty = round(m_y); + m_matrix.ty = m_y; m_text_label.model_mtx(m_matrix); compute_bounding_box(); } @@ -71,7 +71,7 @@ namespace draw { double x = m_x, y = m_y; m.transform(&x, &y); m_matrix.tx = x; - m_matrix.ty = round(y); + m_matrix.ty = y; m_text_label.approximation_scale(m.scale()); } |