I have a mutable transparent image on a series 40 (4444 native pixel).
FYI I use it for a scrolling terrain buffer that's going to be drawn onto the screen over some background image.
I create the buffer using DirectUtils.createImage(w, h, 0x00000000) to set all the pixels to fully transparent.
Every frame I draw the terrain into my terrain image buffer and drawImage it over the background.
Now, I want to reset part of that terrain image to be fully transparent so I can draw some more stuff into it. I can't!
There appears to be no way to set a transparent image pixel back
to being 0x0000.
If I use drawPixel it leaves the original image intact.
So my question is:
------------------
Has anyone successfully reset a mutable transparent dirty image
back to being fully transparent?
Regards
Keith Marsh

Reply With Quote

