[PATCH] gdiplus: in CompositingModeSourceCopy, fully transparent pixels are drawn black

Jeff Smith whydoubt at gmail.com
Wed Mar 4 22:32:17 CST 2020


On Wed, Mar 4, 2020, 7:36 PM Damjan Jovanovic <damjan.jov at gmail.com> wrote:

> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42585
>
> Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
> ---
>  dlls/gdiplus/graphics.c    | 7 ++++++-
>  dlls/gdiplus/tests/image.c | 2 +-
>  2 files changed, 7 insertions(+), 2 deletions(-)
>

Hi Damjan,

I've looked at this area of GDI+ recently. Effectively what seems to happen
for copy is the source color is converted PARGB (pre-multiplied) then back
to ARGB.  I hadn't decided if I had considered all code paths though.

However, if this patch does fix the application bug, it still seems like an
improvement.

Thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200304/d55cbb7e/attachment.htm>


More information about the wine-devel mailing list