author | Francesco Abbate <francesco.bbt@gmail.com> | 2011年12月06日 22:26:34 +0100 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2011年12月06日 22:26:34 +0100 |
commit | 66988c8e83094758e55282c51f45a01933bcc0c9 (patch) | |
tree | 4a90ebd78fe31080e719c23c7f371bff9597d1f0 /agg-plot/lua-text.cpp | |
parent | c9a356e30fcd55e51bdfc303ce47921b09fab2b4 (diff) | |
download | gsl-shell-66988c8e83094758e55282c51f45a01933bcc0c9.tar.gz |
-rw-r--r-- | agg-plot/lua-text.cpp | 2 |
diff --git a/agg-plot/lua-text.cpp b/agg-plot/lua-text.cpp index 065211a7..91a606bc 100644 --- a/agg-plot/lua-text.cpp +++ b/agg-plot/lua-text.cpp @@ -66,7 +66,7 @@ int agg_text_new (lua_State *L) { double size = luaL_optnumber (L, 1, 10.0); - double width = luaL_optnumber (L, 2, 1.0); + double width = luaL_optnumber (L, 2, 1.0) + 0.7; new(L, GS_DRAW_TEXT) draw::text(size, width); return 1; } |