How can I make a simple point plotter?

Search this archive.

From: R. Brock Lynn (brock@cyberdude.com)
Date: Sun 31 May 1998 - 03:11:33 IDT


Could someone show me the least possible complicated, yet complete program using
svgalib that can plot simple points?

i.e.

point (x,y,color);

And maybe how to draw lines:

line (x1,y1,x2,y2,color);

I'm just confused by svgalib I guess, and feel stuck when it comes to trying to
make something happen with graphics under linux.

And I wonder what the equivalent way to plot points in X11 would be?
(as in drawing over everything, or painting on the "root window")
But I guess I better write an email to the X11 list for that!

Brock

-- 
/---------------------------/-------------------------------------------------\
| R. Brock Lynn           /  http://www.linux.org/  http://www.rbl.dyn.ml.org/|
| brock@cyberdude.com   /         Linux: The Choice of a GNU Generation!      |
\---------------------/-------------------------------------------------------/


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST