xref: /original-bsd/lib/libplot/gigi/circle.c (revision 2301fdfb)
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.1 (Berkeley) 05/07/85";
9 #endif not lint
10 
11 #include "gigi.h"
12 
13 circle (xc,yc,r)
14 int xc,yc,r;
15 {
16 	if(r < 1){
17 		point(xc, yc);
18 		return;
19 	}
20 	move(xc, yc);
21 	printf("C[%d]", r);
22 }
23