drawing to wxBitmap with alpha channel
DM
D.Marcinkiewicz at elka.pw.edu.pl
Wed Oct 11 08:12:25 PDT 2006
On Wed, Oct 11, 2006 at 04:17:17PM +0200, Stefan Csomor wrote:
> Hi
>
> > Does the proper method to draw onto a wxBitmap looks like
> > this in 2.7.1?
> >
> > 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? I'am a little bit impatient because this
feature will allow be to get rid of some ugly, buggy non cross-platform code
from my app (which works under GTK but doesn't quite work under MSW).
So, anyway, I'm gonna to try it out as soon as 2.7.1 appears on ftp servers :).
--
DM
More information about the wx-users
mailing list