xref: /csrg-svn/lib/libplot/hp7221/box.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 
715464Sralph #ifndef lint
8*19978Sdist static char sccsid[] = "@(#)box.c	5.1 (Berkeley) 05/07/85";
9*19978Sdist #endif not lint
1015464Sralph 
1115464Sralph box(x0, y0, x1, y1)
1215464Sralph {
1315464Sralph 	move(x0, y0);
1415464Sralph 	cont(x0, y1);
1515464Sralph 	cont(x1, y1);
1615464Sralph 	cont(x1, y0);
1715464Sralph 	cont(x0, y0);
1815464Sralph 	move(x1, y1);
1915464Sralph }
20