author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年08月07日 21:30:46 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年08月07日 21:30:46 +0200 |
commit | b1ced8325ff73de83a7f0113ff3b7c448092df6b (patch) | |
tree | c18a13851bbdbed17cbcaf36e8e7ec3516eb0f74 | |
parent | 99eaf6959abbf91f66743b5551d418cd34a404e8 (diff) | |
download | gsl-shell-b1ced8325ff73de83a7f0113ff3b7c448092df6b.tar.gz |
-rw-r--r-- | agg-plot/text.h | 2 |
diff --git a/agg-plot/text.h b/agg-plot/text.h index c6c62e6e..da88a9c6 100644 --- a/agg-plot/text.h +++ b/agg-plot/text.h @@ -62,7 +62,7 @@ class text : public sg_object m_y = y; m_matrix.tx = m_x; - m_matrix.ty = m_y; + m_matrix.ty = round(m_y); } void hjustif(double hj) { m_hjustif = hj; } |