Mail Archives: djgpp/1997/09/14/18:24:10
Gautam N. Lad writes:
>I don't know if this is already in Allegro's DOC, but here goes.
>I want to write something onto 'screen', but before I do, I want to
>save the portion of the screen that will be overwritten.
Create a memory bitmap to store the image you need to save, and use
blit() to copy data between it and the screen. You can use that to copy
any rectangular region you like, so you can save the background and then
blit it back again when you are done.
--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.
.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.
- Raw text -