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