how to draw NOT on the backbuffer
BlitzMax Forums/BlitzMax Programming/how to draw NOT on the backbuffer
| ||
If I want to draw some stuff on a pixmap (NOT the backbuffer), and then copy the content from the pixmap to the backbuffer should I work on an image with lockimage (?) or are there better ways (for the "pixmap" controls there is no documentation) Thx, Matteo |
| ||
You can draw pixmaps into pixmaps with pixmap.paste () method. |
| ||
Goto Find and replace. Enter "Draw" for search and then "'Draw" for replace. I use the pixmap directly, by locking an image. One thing I hate is there is no apperent way to convert a pixmap created uniquely, into an image. I have to copy it over per-pixel.(He said...in case there's another way..) |
| ||
Can you use... my_image:TIMage = LoadImage(my_pixmap) ? |