xref: /csrg-svn/lib/libplot/bitgraph/move.c (revision 61330)
148504Sbostic /*-
2*61330Sbostic  * Copyright (c) 1980, 1993
3*61330Sbostic  *	The Regents of the University of California.  All rights reserved.
448504Sbostic  *
548504Sbostic  * %sccs.include.proprietary.c%
619851Sdist  */
719851Sdist 
815420Sralph #ifndef lint
9*61330Sbostic static char sccsid[] = "@(#)move.c	8.1 (Berkeley) 06/04/93";
1048504Sbostic #endif /* not lint */
1115420Sralph 
1215420Sralph #include "bg.h"
1315420Sralph 
move(xi,yi)1415420Sralph move(xi,yi)
1515420Sralph int xi,yi;
1615420Sralph {
1715420Sralph 	currentx = scaleX(xi);
1815420Sralph 	currenty = scaleY(yi);
1915420Sralph 	putchar( ESC );
2015420Sralph 	printf(":%d;%dm", currentx, currenty);
2115420Sralph }
22