Re: [wxlua-users] wxPointList was Re: Which wxWidgets?

2012-09-29 Thread Victor Bombi
Something like that, but quite a bit more work is involved to do it the right way and have it reusable in similar functions. Lot of work indeed!! Thank you -- How fast is your code? 3 out of 4 devs don\\\'t know how

Re: [wxlua-users] wxPointList was Re: Which wxWidgets?

2012-09-28 Thread John Labenski
On Tue, Sep 25, 2012 at 3:32 AM, Victor Bombi son...@telefonica.net wrote: The list should be a lua table for optimization and then could be something like: static int LUACALL wxLua_wxDC_DrawPolygon1(lua_State *L) ... Something like that, but quite a bit more work is involved to do it the

Re: [wxlua-users] wxPointList was Re: Which wxWidgets?

2012-09-25 Thread Victor Bombi
It can't be used currently. I have wondered if it's really worth it. The idea is that you can optimize the drawing with a list, but in a scripting language the creation of the list itself may negate any benefits. The list should be a lua table for optimization and then could be something