how to draw NOT on the backbuffer

BlitzMax Forums/BlitzMax Programming/how to draw NOT on the backbuffer

Najdorf(Posted 2005) [#1]
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


Dreamora(Posted 2005) [#2]
You can draw pixmaps into pixmaps with pixmap.paste () method.


AntonyWells(Posted 2005) [#3]
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..)


tonyg(Posted 2005) [#4]
Can you use...
my_image:TIMage = LoadImage(my_pixmap)
?