delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/08/23:12:54

Message-ID: <5BF60CD649EDD411A04600B0D049F53A5443A2@hydmail02.hyd.wilco-int.com>
From: Prashant Ramachandra <rprash AT wilco-int DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: [Allegro]Put Pixel Function
Date: Sat, 9 Jun 2001 08:39:04 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

On Saturday, June 09, 2001 8:17 AM, Brent Ritchie
[SMTP:azreal AT cyberbeach DOT net] wrote:
|         Hello I would like to know how to use the following
|         statement:
| 
| putpixel(screen, x, y, color);
| 
|         I understand what X,Y, and color but what do I put for
|         screen?

The "screen" a default variable that tells allegro to send the output to
your monitor. Otherwise, screen can be a buffer. The allegro docs do mention
about this.

Btw, I'm telling this from memory and it's been a long time since I used
allegro. So hopefully someone will correct me if I'm wrong here.
--
Prashant TR <tr AT midpec DOT com>  Web: http://www.midpec.com/

PGP (Office): http://www.midpec.com/pgp.asc
PGP (Personal): http://www.midpec.com/whois/prashant.html
Get your own key: http://www.pgpi.org/

- Raw text -


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