A simple X program
The programs in this directory provide a simple x based application for
us to develop some graphics routines.
Please notice the following:
- All points are integers.
- The line drawing algorithm is very simple and has some definate flaws.
The files are as follows
- The routines to Access X functions directly.
- The routines to draw a point
- The routines to draw a line
- main.c The main routine.
- mygraph.h
The definition of data structures needed.
- A Makefile to compile the program under HP-UX 10.20 on aegis
- A Makefile (Makefile.linux) to compile the program under
Linux (2.2.5-15smp) on forrestal.
The entire directory can be retrived via this
shar file.