drawing on wxDC with transparency

personaje personaje at gmail.com
Wed May 7 10:23:43 PDT 2008


On Wed, May 7, 2008 at 2:16 PM, Robert Roebling <robert at roebling.de> wrote:
>
>  personaje wrote:
>
>  >    I want to draw on a  bitmap usign wxDC's primitives and keep
>  > everything transparent except for the parts I draw on (using mainly
>  > DrawPolygon, with a wxPen and wxTRANSPARENT_BRUSH).
>  >
>  >    I am getting a completely transparent bitmap. I read on the wxDC
>  > help page the note about Transparency / Alpha channel for wxMAC. My
>  > question is: All other platforms don't support transparency/alpha?
>
>  Consider using wxGraphicsContext,

is that because wxDC doesnt support what I am trying to do?
I am worried that I am doing something wrong that won't work even with
wxGraphicsContext

Regards.


More information about the wx-users mailing list