From: Ralph Campbell Date: Sat, 12 Nov 1983 07:12:43 +0000 (-0800) Subject: date and time created 83/11/11 15:12:43 by ralph X-Git-Tag: BSD-4_3-Snapshot-Development~10763 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/33972934a9d935c316918dabe521bc42e983702c date and time created 83/11/11 15:12:43 by ralph SCCS-vsn: lib/libplot/aed/point.c 4.1 --- diff --git a/usr/src/lib/libplot/aed/point.c b/usr/src/lib/libplot/aed/point.c new file mode 100644 index 0000000000..90685085d6 --- /dev/null +++ b/usr/src/lib/libplot/aed/point.c @@ -0,0 +1,27 @@ +#ifndef lint +static char sccsid[] = "@(#)point.c 4.1 (Berkeley) %G%"; +#endif + +#include "aed.h" + +/*--------------------------------------------------------- + * This routine plots a single point. + * + * Results: None. + * + * Side Effects: + * A single point is displayed on the screen. + * The point is made the current point. + *--------------------------------------------------------- + */ +point(x, y) +int x, y; +{ + setcolor("01"); + putc('Q', stdout); + outxy20(x, y); + fputs("O01", stdout); + (void) fflush(stdout); + curx = x; + cury = y; +}