Mail Archives: djgpp/2000/02/06/20:10:08
From: | Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: functions grafiks with allegro
|
Organization: | Pin Eight Software http://pineight.8m.com/
|
Message-ID: | <od4s9s84urk10naqrb3ajd4fj553jsfd7o@4ax.com>
|
References: | <87k4iu$g1f$1 AT wanadoo DOT fr>
|
X-Newsreader: | Forte Agent 1.7/32.534
|
MIME-Version: | 1.0
|
Lines: | 24
|
X-Trace: | /K0ZEBYzTRAPxfZ9/SEhtESq4qcRgfztcAD8/y38TdSLHnpTk3emF4WiEwpBdKyk1k4Esao1A38X!nS7qrWnkcdy8M6raX18lXiGWCH22EPjXmodsBQPJ1HTolLXSojydMNAOMqBX7Kn3PtZDRbMk4Q==
|
X-Complaints-To: | abuse AT gte DOT net
|
X-Abuse-Info: | Please be sure to forward a copy of ALL headers
|
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly
|
NNTP-Posting-Date: | Mon, 07 Feb 2000 00:33:04 GMT
|
Distribution: | world
|
Date: | Mon, 07 Feb 2000 00:33:04 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
On Sun, 6 Feb 2000 16:34:01 +0100, "denis.murot"
<denis DOT murot AT wanadoo DOT fr> wrote:
>I'm french and if you speak french, anwser me in french, else, please, use
>simple word. Thank .
>What is the primary fonction on djgpp with allegro? To put pixel and to draw
>a line ?
To put pixels, try
putpixel(screen, x, y, color);
To draw lines, try
line(screen, x1, y1, x2, y2, color); // draws one line
rect(screen, x1, y1, x2, y2, color); // draws a box
circle(screen, x, y, radius, color); // draws a circle
You can find more in the Allegro manual.
--
Damian Yerrick http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html
"Shut the ____ up, Poser!" -- [merr]TheMak
- Raw text -