xref: /csrg-svn/lib/libplot/hp7221/point.c (revision 19978)
1*19978Sdist /*
2*19978Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19978Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19978Sdist  * specifies the terms and conditions for redistribution.
5*19978Sdist  */
6*19978Sdist 
715476Sralph #ifndef lint
8*19978Sdist static char sccsid[] = "@(#)point.c	5.1 (Berkeley) 05/07/85";
9*19978Sdist #endif not lint
1015476Sralph 
1115476Sralph #include "hp7221.h"
1215476Sralph 
1315476Sralph point(xi,yi)
1415476Sralph int xi,yi;
1515476Sralph {
1615476Sralph 	if(scaleX(xi)!=currentx || scaleY(yi)!=currenty)
1715476Sralph 		move(xi,yi);
1815476Sralph 	cont(xi, yi);
1915476Sralph }
20