This package defines routines to draw lines on a dot matrix display.
line.h - Header file.
line.c - Code file.
No warranty, express or implied, should be assumed for these code fragments. They are for educational and demonstration purposes, and may contain major errors.
All routines return error codes as listed in the errors module (errors.h and errors.c)
line assumes there exists a routine it can call
error drawpoint (int x, int y);
sline assumes there exists a routine it can call:
error drawspoint (int x, int y, double value);(Where value ranges from 0 (background) to 1 (line color))
This page is http://www.cc.utah.edu/~nahaj/cave/survey/code/c/line.html
© Copyright 2000 by John Halleck, All Rights Reserved.
This snapshot was last modified on August 23rd, 2000