xref: /original-bsd/lib/libplot/bitgraph/circle.c (revision cfde0222)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  */
6 
7 #ifndef lint
8 static char sccsid[] = "@(#)circle.c	5.2 (Berkeley) 04/30/85";
9 #endif not lint
10 
11 
12 circle (xc,yc,r)
13 int xc,yc,r;
14 {
15 	arc(xc,yc, xc+r,yc, xc-r,yc);
16 	arc(xc,yc, xc-r,yc, xc+r,yc);
17 }
18