rectangle with transparency

Vadim Zeitlin vadim at wxwidgets.org
Mon May 5 08:58:13 PDT 2008


On Mon, 5 May 2008 08:11:03 +0200 Armel <armelasselin at hotmail.com> wrote:

A> > wxGraphicsContext should handle this (although I didn't try it myself).
A> could you be more specific ? I found nothing related to alpha in trunk in 
A> wx/graphics.h (apart from a #if 0 "Set/GetAlpha" functions pair).

 As I said, I didn't test it but normally you should just create a
wxGraphicsBrush using a colour with alpha component and painting with it
should work as expected.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/



More information about the wx-users mailing list