gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/text.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2010年09月05日 22:57:37 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2010年09月05日 22:57:37 +0200
commite91e941131758f6968da52d71866f3cc3f8c6f16 (patch)
tree7bcbba53c0b47dc82007c9130fcd99e5bee7b1a6 /agg-plot/text.cpp
parent62ebff397ff6121d44ef696cce160ee46ae34a76 (diff)
downloadgsl-shell-e91e941131758f6968da52d71866f3cc3f8c6f16.tar.gz
fixed bug in text bounding box calculation
Diffstat (limited to 'agg-plot/text.cpp')
-rw-r--r--agg-plot/text.cpp 2
1 files changed, 1 insertions, 1 deletions
diff --git a/agg-plot/text.cpp b/agg-plot/text.cpp
index d3e50e85..2fe93702 100644
--- a/agg-plot/text.cpp
+++ b/agg-plot/text.cpp
@@ -34,7 +34,7 @@ namespace draw {
text::bounding_box(double *x1, double *y1, double *x2, double *y2)
{
*x1 = *x2 = m_x;
- *y1 = *y1 = m_y;
+ *y1 = *y2 = m_y;
}
bool
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月30日 19:44:50 +0000

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