[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [resend PATCH 4/4] gdiplus/metafile: Implement EmfPlusRecordTypeSetClipRegion playback
From:       Vincent Povirk <vincent () codeweavers ! com>
Date:       2017-10-20 16:24:09
Message-ID: CAAFPtVSDBgj1R3kCPe9_rF8_oOby1oWHf=gUFefor0A+Bv2ugA () mail ! gmail ! com
[Download RAW message or body]

> +            return GdipSetClipRegion(real_metafile->playback_graphics, real_metafile->objtable[region].u.region,
> +                (flags >> 8) & 0xf);

This clip region needs to be intersected with the clip region from
when the metafile began playing, similar to what we do for world
transforms.

Alternately, we could try to repurpose our existing code for handling
gdi32 clipping and transforms.

It just occurred to me that applications could tell the difference
between those approaches, so we should probably have tests.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic