delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/24/20:48:20

From: "Mr. Veli Suorsa" <VJSuorsa AT Surfeu DOT Fi>
Sender: vjsuorsa AT Surfeu DOT Fi
To: Djgpp AT delorie DOT com
Cc: VJSuorsa AT Surfeu DOT Fi
Date: Sun, 25 Feb 2001 02:17:00 +0200
Subject: Where is Bgi- graphics library?
X-Mailer: CWMail Web to Mail Gateway 2.6k, http://netwinsite.com/top_mail.htm
Message-id: <3a984efc.57bf.0@surfeu.fi>
X-User-Info: 193.167.106.194
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019