-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; } |