Mail Archives: djgpp/1997/10/13/20:15:25
pete AT duchess DOT compulink DOT co DOT uk wrote in article
<876472720 DOT 3425 DOT 0 DOT nnrp-04 DOT 9e9889d0 AT news DOT demon DOT co DOT uk>...
> I'm using the grx library, and I'm in 800
> *600*256 colour mode. I've set the pallette to greyscales. No problem.
> I have an array in which I have an inage, 1 byte per pixel, in 320*200
> format. How can I put this on the screne at an arbitrary point (not
> pixel by pixel!).
I'm not sure aboiut grx, but allegro must have built-in funcitons for
bitmap blitting.
If you really like to it on your own, your can use "dosmemput", don't
forget to add
"include <sys/movedata.h>".
Look for doememput's syntax in info.
- Raw text -