[Gdiplus try4 1/6] Implement GdipCreateRegion and mark the tests todo_wine instead of skipping over them all.

Adam Petaccia adam at tpetaccia.com
Tue Jul 22 19:53:31 CDT 2008


This patch also addresses some Valgrind warnings that will pop up once
everything is implemented.  Also, be more descriptive when we fail some tests
by using the expect() macro.

Changelog:
(try4):
    Merge with what was previous patch (test todo'ing)
    Make region directly hold its node
    Use lowercase struct names and members.
    Move InitRegion to the top, and rename to init_region
    Move enumeration to region.c, as its not public.
    pathHeader->{pointCount,storageFlags} --> pathheader->{count, flags}
    numOps --> num_children
    Add const to helper functions

(try3):
Fix a mistake which caused SetEmpty to be incorrectly filled out.
Remove a comment that should be added later.
---
 dlls/gdiplus/gdiplus_private.h |   38 +++++++++++++++
 dlls/gdiplus/region.c          |   60 ++++++++++++++++++++++-
 dlls/gdiplus/tests/region.c    |  102 ++++++++++++++++++++++++++++++----------
 3 files changed, 172 insertions(+), 28 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d15df4bc3e2ee2cb572f285416f8653f5a9d0df5.diff
Type: text/x-patch
Size: 13507 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080722/acb068c1/attachment-0001.bin 


More information about the wine-patches mailing list