gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/agg-parse-trans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/agg-parse-trans.cpp')
-rw-r--r--agg-plot/agg-parse-trans.cpp 5
1 files changed, 2 insertions, 3 deletions
diff --git a/agg-plot/agg-parse-trans.cpp b/agg-plot/agg-parse-trans.cpp
index 24bfd33e..8578b01b 100644
--- a/agg-plot/agg-parse-trans.cpp
+++ b/agg-plot/agg-parse-trans.cpp
@@ -81,7 +81,7 @@ typename context::base_type* build_stroke (lua_State *L, int specindex, typename
typename trans<context>::stroke_base& stroke = s->self();
- stroke.width(width);
+ s->width(width);
if (cap_str)
{
@@ -122,7 +122,6 @@ build_dash (lua_State *L, int specindex, typename context::base_type *obj)
typedef typename trans<context>::dash dash_type;
dash_type *d = new dash_type(obj);
- typename trans<context>::dash_base& dash = d->self();
for (int j = 2; /* */; j += 2)
{
@@ -137,7 +136,7 @@ build_dash (lua_State *L, int specindex, typename context::base_type *obj)
double b = (lua_isnumber (L, -1) ? lua_tonumber (L, -1) : a);
- dash.add_dash(a, b);
+ d->add_dash(a, b);
lua_pop (L,1);
}
else
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月16日 06:12:50 +0000

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