Hi guys,
I wonder how can I get the graphics pointer to image in backbuffer before I use flushGraphics ? Is it possible work direct on bitmap in backbuffer (MIDP 2) at all?
many thanks for any hints
regards
Hi guys,
I wonder how can I get the graphics pointer to image in backbuffer before I use flushGraphics ? Is it possible work direct on bitmap in backbuffer (MIDP 2) at all?
many thanks for any hints
regards
hi,
that way?
Code:// Get the Graphics object for the off-screen buffer Graphics g = getGraphics();"g" is pointer to off-screen buffer (let's call it image)protected Graphics getGraphics()
Obtains the Graphics object for rendering a GameCanvas. The returned Graphics object renders to the off-screen buffer belonging to this GameCanvas.
hth,
regards,
Peter