xref: /csrg-svn/lib/libplot/dumb/box.c (revision 19971)
1*19971Sdist /*
2*19971Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19971Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19971Sdist  * specifies the terms and conditions for redistribution.
5*19971Sdist  */
6*19971Sdist 
715428Sralph #ifndef lint
8*19971Sdist static char sccsid[] = "@(#)box.c	5.1 (Berkeley) 05/07/85";
9*19971Sdist #endif not lint
1015428Sralph 
1115428Sralph box(x0, y0, x1, y1)
1215428Sralph {
1315428Sralph 	move(x0, y0);
1415428Sralph 	cont(x0, y1);
1515428Sralph 	cont(x1, y1);
1615428Sralph 	cont(x1, y0);
1715428Sralph 	cont(x0, y0);
1815428Sralph 	move(x1, y1);
1915428Sralph }
20