Alphacolor in wxPen definition

Tomasz Sienkiewicz azgaard at poczta.onet.pl
Mon Sep 4 07:35:39 PDT 2006


Hi,

i would like to draw semi transparent lines, filled rectangles over existing image.
in c# i construct pen with alphacolor (color with defined alpha channel)

Pen transPen = new Pen(Color.FromArgb(23,100, 140, 140), 10);

and do the painting.

But i've noticed that wxColor has no FromArgb or similar method.
Is it possible to do transparent painting (this way) using wxWidgets?
If not, how should i do this?

Thank you
Tom




More information about the wx-users mailing list