|
|
1.1 ! root 1: #ifndef lint ! 2: static char sccsid[] = "@(#)point.c 4.1 (Berkeley) 11/11/83"; ! 3: #endif ! 4: ! 5: #include "aed.h" ! 6: ! 7: /*--------------------------------------------------------- ! 8: * This routine plots a single point. ! 9: * ! 10: * Results: None. ! 11: * ! 12: * Side Effects: ! 13: * A single point is displayed on the screen. ! 14: * The point is made the current point. ! 15: *--------------------------------------------------------- ! 16: */ ! 17: point(x, y) ! 18: int x, y; ! 19: { ! 20: setcolor("01"); ! 21: putc('Q', stdout); ! 22: outxy20(x, y); ! 23: fputs("O01", stdout); ! 24: (void) fflush(stdout); ! 25: curx = x; ! 26: cury = y; ! 27: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.