xref: /csrg-svn/lib/libplot/hp2648/cont.c (revision 19975)
1*19975Sdist /*
2*19975Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19975Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19975Sdist  * specifies the terms and conditions for redistribution.
5*19975Sdist  */
6*19975Sdist 
715448Sralph #ifndef lint
8*19975Sdist static char sccsid[] = "@(#)cont.c	5.1 (Berkeley) 05/07/85";
9*19975Sdist #endif not lint
1015448Sralph 
1115448Sralph #include "hp2648.h"
1215448Sralph 
1315448Sralph cont(xi,yi)
1415448Sralph int xi,yi;
1515448Sralph {
1615448Sralph 	char xb1,xb2,yb1,yb2;
1715448Sralph 	itoa(xsc(xi),&xb1,&xb2);
1815448Sralph 	itoa(ysc(yi),&yb1,&yb2);
1915448Sralph 	buffready(4);
2015448Sralph 	putchar(xb2);
2115448Sralph 	putchar(xb1);
2215448Sralph 	putchar(yb2);
2315448Sralph 	putchar(yb1);
2415448Sralph 	currentx = xsc(xi);
2515448Sralph 	currenty = ysc(yi);
2615448Sralph }
27