xref: /csrg-svn/lib/libplot/imagen/box.c (revision 24990)
1*24990Ssam /*
2*24990Ssam  * Copyright (c) 1985 Regents of the University of California.
3*24990Ssam  * All rights reserved.  The Berkeley software License Agreement
4*24990Ssam  * specifies the terms and conditions for redistribution.
5*24990Ssam  */
6*24990Ssam 
7*24990Ssam #ifndef lint
8*24990Ssam static char sccsid[] = "@(#)box.c	5.1 (Berkeley) 09/21/85";
9*24990Ssam #endif not lint
10*24990Ssam 
11*24990Ssam box(x0, y0, x1, y1)
12*24990Ssam {
13*24990Ssam 	move(x0, y0);
14*24990Ssam 	cont(x0, y1);
15*24990Ssam 	cont(x1, y1);
16*24990Ssam 	cont(x1, y0);
17*24990Ssam 	cont(x0, y0);
18*24990Ssam 	move(x1, y1);
19*24990Ssam }
20