shana / paint-mono

Automatically exported from code.google.com/p/paint-mono
Other
22 stars 13 forks source link

SystemLayer/IO.cs: GetUpdateRegion is suboptimal. #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The implementation of GetUpdateRegion is suboptimal.   Currently it has
code to fetch the clipping rectangles directly from Mono's Windows.Forms,
but for some reason the returned values make Paint.NET choke (the are way
out of bounds, this could be a Windows.Forms bug, or some clipping
operation that I am not performing).

The code is in place, but it is surrounded by #if false

Original issue reported on code.google.com by miguel.d...@gmail.com on 12 May 2007 at 11:17