yeah I think you are right, I have also searched in wxWidget forum about
this problem. It is a wxWidget's problem.
On Fri, Mar 14, 2008 at 5:25 AM, klaas.holwerda <[EMAIL PROTECTED]>
wrote:
> Budi Irawan wrote:
> > Hello Klaas,
> >
> > I have tested wxart2d again and I found that its canvas can't handle
> > PNG with alpha transparency. The alpha becomes black.
> > Here are screenshots of the PNG image and the canvas with the PNG image.
> This is not implemented in the AggDrawer. The problem is the weird way
> wxWidgets stores alpha in wxImage.
> Maximum irritating since there is nothing (OpenGL etc.)) which can
> handle it that way.
> So i would need to be converted to an array with rgba for each pixel.
> That fits Agg.
> Doing this on the fly makes things slow. So maybe there is a need for a
> a2dImageRgba class, which stores the image content the right way, and is
> therefore fast on a2dAggDrawer, but slow on the a2dMemDrawer.
> See a2dAggDrawer::DrawImage() for what happens currently.
>
> Klaas
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev