int w_BezierCurve_scale(lua_State *L) { BezierCurve *curve = luax_checkbeziercurve(L, 1); double s = luaL_checknumber(L, 2); float ox = (float) luaL_optnumber(L, 3, 0); float oy = (float) luaL_optnumber(L, 4, 0); curve->scale(s, Vector(ox,oy)); return 0; }