xref: /csrg-svn/old/lib2648/move.c (revision 19799)
111482Sralph /*
2*19799Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19799Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19799Sdist  * specifies the terms and conditions for redistribution.
5*19799Sdist  */
6*19799Sdist 
7*19799Sdist #ifndef lint
8*19799Sdist static char sccsid[] = "@(#)move.c	5.1 (Berkeley) 04/30/85";
9*19799Sdist #endif not lint
10*19799Sdist 
11*19799Sdist /*
1211482Sralph  * move to (x, y).  Both the _pen and cursor are supposed to be moved.
1311482Sralph  * We really just remember it for later, in case we move again.
1411482Sralph  */
1511482Sralph 
1611482Sralph #include "2648.h"
1711482Sralph 
move(x,y)1811482Sralph move(x, y)
1911482Sralph {
2011482Sralph #ifdef TRACE
2111482Sralph 	if (trace)
2211482Sralph 		fprintf(trace, "\tmove(%d, %d), ", x, y);
2311482Sralph #endif
2411482Sralph 	_supx = x;
2511482Sralph 	_supy = y;
2611482Sralph }
27