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:
Diffstat (limited to 'agg-plot/text.cpp')
-rw-r--r--agg-plot/text.cpp 3
1 files changed, 1 insertions, 2 deletions
diff --git a/agg-plot/text.cpp b/agg-plot/text.cpp
index 04f203dc..d3e50e85 100644
--- a/agg-plot/text.cpp
+++ b/agg-plot/text.cpp
@@ -27,8 +27,7 @@ namespace draw {
m.transform(&x, &y);
m_stroke.approximation_scale(as);
-
- m_text.start_point (0.0, 0.0);
+ m_text.start_point (-m_hjustif * m_text_width, -m_vjustif * m_text_height);
}
void
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月30日 00:29:40 +0000

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