wxColourDialog with Alpha?

Vadim Zeitlin vadim at wxwidgets.org
Fri Aug 3 05:06:18 PDT 2007


On Fri, 03 Aug 2007 14:04:21 +0200 "c.Kleinhuis" <trifox at digitalgott.de> wrote:

c> > c> now i am coming right back to a question i asked before, can i use
c> > c> dc.blit to handle the alpha transparency ?
c> >
c> >  Yes, what does it have to do with wxColour and especially wxColourDialog?
c> >   
c> wxColour is the base data type for wxBitmap

 Sorry?

c>  so  if i set the alpha value of a bitmap pixel via
c>  wxPen(wxColour(r,g,b,a))

 I don't know what is the question but I guess the answer is "yes, it's
ok".

c> so, can i uses wxDc::Blit to draw an semi transparent image on to de 
c> devicecontext?

 Yes, you can and, once again, I still have no idea what does it have to do
with wxColourDialog.

 Regards,
VZ

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





More information about the wx-users mailing list