xref: /csrg-svn/lib/libplot/hp2648/cont.c (revision 48517)
1*48517Sbostic /*-
2*48517Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*48517Sbostic  * All rights reserved.
4*48517Sbostic  *
5*48517Sbostic  * %sccs.include.proprietary.c%
619975Sdist  */
719975Sdist 
815448Sralph #ifndef lint
9*48517Sbostic static char sccsid[] = "@(#)cont.c	5.2 (Berkeley) 04/22/91";
10*48517Sbostic #endif /* not lint */
1115448Sralph 
1215448Sralph #include "hp2648.h"
1315448Sralph 
1415448Sralph cont(xi,yi)
1515448Sralph int xi,yi;
1615448Sralph {
1715448Sralph 	char xb1,xb2,yb1,yb2;
1815448Sralph 	itoa(xsc(xi),&xb1,&xb2);
1915448Sralph 	itoa(ysc(yi),&yb1,&yb2);
2015448Sralph 	buffready(4);
2115448Sralph 	putchar(xb2);
2215448Sralph 	putchar(xb1);
2315448Sralph 	putchar(yb2);
2415448Sralph 	putchar(yb1);
2515448Sralph 	currentx = xsc(xi);
2615448Sralph 	currenty = ysc(yi);
2715448Sralph }
28