xref: /csrg-svn/lib/libplot/dumb/box.c (revision 48505)
1*48505Sbostic /*-
2*48505Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*48505Sbostic  * All rights reserved.
4*48505Sbostic  *
5*48505Sbostic  * %sccs.include.proprietary.c%
619971Sdist  */
719971Sdist 
815428Sralph #ifndef lint
9*48505Sbostic static char sccsid[] = "@(#)box.c	5.2 (Berkeley) 04/22/91";
10*48505Sbostic #endif /* not lint */
1115428Sralph 
1215428Sralph box(x0, y0, x1, y1)
1315428Sralph {
1415428Sralph 	move(x0, y0);
1515428Sralph 	cont(x0, y1);
1615428Sralph 	cont(x1, y1);
1715428Sralph 	cont(x1, y0);
1815428Sralph 	cont(x0, y0);
1915428Sralph 	move(x1, y1);
2015428Sralph }
21