xref: /csrg-svn/lib/libplot/aed/point.c (revision 61327)
148502Sbostic /*-
2*61327Sbostic  * Copyright (c) 1983, 1993
3*61327Sbostic  *	The Regents of the University of California.  All rights reserved.
448502Sbostic  *
548502Sbostic  * %sccs.include.proprietary.c%
648502Sbostic  */
748502Sbostic 
815524Sralph #ifndef lint
9*61327Sbostic static char sccsid[] = "@(#)point.c	8.1 (Berkeley) 06/04/93";
1048502Sbostic #endif /* not lint */
1115524Sralph 
1215524Sralph #include "aed.h"
1315524Sralph 
1415524Sralph /*---------------------------------------------------------
1515524Sralph  *	This routine plots a single point.
1615524Sralph  *
1715524Sralph  *	Results:	None.
1815524Sralph  *
1915524Sralph  *	Side Effects:
2015524Sralph  *	A single point is displayed on the screen.
2115524Sralph  *	The point is made the current point.
2215524Sralph  *---------------------------------------------------------
2315524Sralph  */
point(x,y)2415524Sralph point(x, y)
2515524Sralph int x, y;
2615524Sralph {
2715524Sralph     setcolor("01");
2815524Sralph     putc('Q', stdout);
2915524Sralph     outxy20(x, y);
3015524Sralph     fputs("O01", stdout);
3115524Sralph     (void) fflush(stdout);
3215524Sralph     curx = x;
3315524Sralph     cury = y;
3415524Sralph }
35