Open GoogleCodeExporter opened 9 years ago
I am sorry. From what I entered above it would seem that the .Net exception
occurs when I enter print(b). That is not what I meant. The net exception
occurs when I enter b = Bitmap(100,100)
Original comment by anaris...@gmail.com
on 12 Feb 2013 at 9:17
I've gotten around the problem by using the following overload:
bitmap = Bitmap( int32, Int32, graphics_context )
The graphics_context (the graphics object for the target control) is used by
the constructor to extract the resolution for the bitmap. When the failing
overload is used the constructor uses a default resolution.
I suspect that when Luainterface constructs the proxy for this call, it passes
garbage as a 3rd parameter to the constructor rather than just the two Int32
parameters.
Original comment by anaris...@gmail.com
on 3 Mar 2013 at 4:11
Original issue reported on code.google.com by
anaris...@gmail.com
on 12 Feb 2013 at 9:06