date and time created 83/11/11 15:12:43 by ralph
authorRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Sat, 12 Nov 1983 07:12:43 +0000 (23:12 -0800)
committerRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Sat, 12 Nov 1983 07:12:43 +0000 (23:12 -0800)
SCCS-vsn: lib/libplot/aed/point.c 4.1

usr/src/lib/libplot/aed/point.c [new file with mode: 0644]

diff --git a/usr/src/lib/libplot/aed/point.c b/usr/src/lib/libplot/aed/point.c
new file mode 100644 (file)
index 0000000..9068508
--- /dev/null
@@ -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;
+}