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

List:       wine-devel
Subject:    Re: gdiplus: partially implement GdipBitmapSetPixel
From:       Nikolay Sivov <bunglehead () gmail ! com>
Date:       2009-04-29 8:58:20
Message-ID: 49F816AC.6030007 () gmail ! com
[Download RAW message or body]

Massimo Del Fedele wrote:
> This one implements GdipBitmapSetPixel() besides unhandled alpha channel.
>
> Ciao
>
> Max

+    SetPixel(hdc, x, y, ((color << 16) & 0xff0000) | (color & 0x00ff00) | ((color >> 16) & 0x0000ff));

Use ARGB2COLORREF(ARGB color) from gdiplus.c for that.



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

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