Mail Archives: djgpp/1997/03/31/09:28:20
It is in the allegro data file section:
BITMAP bmp;
PALLETE pal;
get_pallete(pal);
bmp = create_sub_bitmap(screen, 0, 0, SCREEN_W, SCREEN_H);
save_pcx("dump.pcx", bmp, pal);
destroy_bitmap(bmp);
On Sat, 29 Mar 1997, Carlos Costa Portela wrote:
> Hello all!
> Next Tuesday I must have finished a printed-work. Well, I have to do some simple calculations, and
> Fourier transforms (against my teacher's opinion: do it in MATLAB!). I prefer to do it using DJGPP,
> and ALLEGRO. But now, I must print my graphics in a document. I used a Capture program, but it
> doesn't recognize the screen printed by Allegro (?). What is the best way to do this homework?. Make
> a routine that make a .pcx file from the screen, and then call it from the word processor?.
> Help, please!!!
> BYtE!
> Carlos.
>
>
- Raw text -