[Mono-dev] Patch to support non-rectangular regions in libgdiplus

Sebastien Pouliot sebastien at ximian.com
Wed Mar 22 14:35:39 EST 2006


Hello everyone,

Here is the patch to support non-rectangular regions in libgdiplus. All
the existing unit tests pass and valgrind was used to ensure it doesn't
(directly*) leak memory. However my knowledge of Cairo and GDI+ are
fairly recent (and limited) so I won't claim perfection ;-)

The patch is rather large (82K) but, hopefully, it should be easy to
understand. I'll soon commit the test tools I used when developing this
(see the pictures in my recent blog entries) and additional unit tests
for the new features.

* There's one indirect leak (in existing code) that should be fixed
soon.

-- 
Sebastien Pouliot  <sebastien at ximian.com>
Blog: http://pages.infinit.net/ctech/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: region.20060322.diff
Type: text/x-patch
Size: 81847 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060322/ddf626c3/attachment.bin 


More information about the Mono-devel-list mailing list