changed scalable/drawable object base class to boxed pointers for Lua compat - 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-ST <francesco.abbate@st.com>2010年10月21日 17:54:30 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年10月21日 17:54:30 +0200
commitf2a6a9203f69006b9aee94f96dc19d638047f67a (patch)
treeab19e56a5695a4e2efcb52c6c7e9837abacbc098 /agg-plot/text.cpp
parentc2531ad7f2dc7bfae6357bacc28e7f6a3591d48d (diff)
downloadgsl-shell-f2a6a9203f69006b9aee94f96dc19d638047f67a.tar.gz
changed scalable/drawable object base class to boxed pointers for Lua compat
This change is meant to avoid to access object already deallocated by Lua.
Diffstat (limited to 'agg-plot/text.cpp')
-rw-r--r--agg-plot/text.cpp 13
1 files changed, 0 insertions, 13 deletions
diff --git a/agg-plot/text.cpp b/agg-plot/text.cpp
index 2fe93702..04d6f137 100644
--- a/agg-plot/text.cpp
+++ b/agg-plot/text.cpp
@@ -29,17 +29,4 @@ namespace draw {
m_stroke.approximation_scale(as);
m_text.start_point (-m_hjustif * m_text_width, -m_vjustif * m_text_height);
}
-
- void
- text::bounding_box(double *x1, double *y1, double *x2, double *y2)
- {
- *x1 = *x2 = m_x;
- *y1 = *y2 = m_y;
- }
-
- bool
- text::dispose()
- {
- return false;
- }
}
generated by cgit v1.2.3 (git 2.46.0) at 2025年10月02日 07:18:47 +0000

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