gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/text-shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/text-shape.h')
-rw-r--r--agg-plot/text-shape.h 4
1 files changed, 2 insertions, 2 deletions
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());
}
generated by cgit v1.2.3 (git 2.25.1) at 2025年10月02日 03:17:55 +0000

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