Mail Archives: djgpp/2001/02/24/20:48:20
HI!
Where is Bgi- graphics library (with DJGPP)?
I found some borland Bgi- graphics library commands, like:
---
#include <graphics.h>
...
initgraph(&gdriver, &gmode, "c:\\BC3\\BGI");
...
setusercharsize(10, 3, 10, 4);
settextstyle(0, 0, 0);
sprintf(msg, "Point (%d,%d)", p.x, p.y);
putpixel(p.x, p.y, 10);
outtextxy(p.x+5 , p.y , msg);
getch();
closegraph();
---
and so on...
What a splendid idea to use graphics pixels, lines and texts together, indeed
;-)!
What should I do, that these commands works with DJGPP?
Thanks in advance!
Veli Suorsa
---
OULU, FINLAND
Mailto:VJSuorsa AT Surfeu DOT Fi
http://members.surfeu.fi/veli.suorsa/
http://www.surfeu.fi
- Raw text -