[wx-dev] wxGTK: Drawing on a bitmap with Alpha
Stefan Csomor
csomor at advancedconcepts.ch
Fri Oct 19 21:39:50 PDT 2007
Hi
> On Wed, 17 Oct 2007 16:46:52 -0400 David Elliott <dfe at cox.net> wrote:
>
> DE> MSW GDI leaves alpha unchanged so the whole point of this is for other
> DE> platforms to also leave alpha unchanged. Drawing should affect the
> DE> RGB just as they'd have been affected by GDI drawing. If the bitmap
> DE> has a mask, drawing should affect the mask just as GDI would have
> DE> affected it. Alpha values shall remain unchanged.
>
> Ok, I agree with this, especially if you think it's not a problem to
> implement this for wxMac.
>
as I already wrote in a previous response, it is just one line that
currently forces the use of alpha in dcmemory.cpp on the bitmap, if we
turn that off, then it behaves as wxDC users expect.
Best,
Stefan
More information about the wx-dev
mailing list