drawing to wxBitmap with alpha channel

Stefan Csomor csomor at advancedconcepts.ch
Thu Oct 12 01:42:14 PDT 2006


Hi

> > > wxBitmap b = wxBitamp(w, h, 32);
> > > wxMemoryDC mdc;
> > > b.SelectObject(b);
> > > wxGraphcsContext gc(mdc);
> > 
> > please bear with us a little longer, before we have 
> finished the API 
> > for bitmap based contexts
> 
> Ok, but will this approach work? 

no, not yet, wxGCDCs or wxGraphicsContext can currently only be
associated with wxWindowDCs

I hope 2.7.2. will be there in about two weeks.

Thanks,

Stefan




More information about the wx-users mailing list