delorie.com/archives/browse.cgi | search |
Message-ID: | <8D53104ECD0CD211AF4000A0C9D60AE3013EFC26@probe-2.acclaim-euro.net> |
From: | Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk> |
To: | djgpp AT delorie DOT com |
Subject: | Re: putpixel method |
Date: | Tue, 1 Jun 1999 11:22:28 +0100 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.0.1460.8) |
Reply-To: | djgpp AT delorie DOT com |
Lars S. Loevlie writes: > Can anyone explain to me (in a very basic way) how to use the > putpixel-method in djgpp c If you use Allegro: allegro_init(); set_gfx_mode(GFX_AUTODETECT, w, h, 0, 0); putpixel(screen, x, y, color); If you want to write your own graphics code from scratch, it is a bit more complicated: see the graphics chapters in the djgpp Users Guide (on http://www.delorie.com) for details. Shawn Hargreaves.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |