xref: /csrg-svn/lib/libplot/hp7221/move.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 
715474Sralph #ifndef lint
8*19978Sdist static char sccsid[] = "@(#)move.c	5.1 (Berkeley) 05/07/85";
9*19978Sdist #endif not lint
1015474Sralph 
1115474Sralph #include "hp7221.h"
1215474Sralph 
1315474Sralph move(xi,yi)
1415474Sralph int xi,yi;
1515474Sralph {
1615474Sralph 	currentx = scaleX(xi);
1715474Sralph 	currenty = scaleY(yi);
1815474Sralph 	putchar( 'p' );
1915474Sralph 	putMBP( currentx, currenty );
2015474Sralph }
21