xref: /csrg-svn/lib/libplot/gigi/circle.c (revision 61385)
148508Sbostic /*-
2*61385Sbostic  * Copyright (c) 1980, 1993
3*61385Sbostic  *	The Regents of the University of California.  All rights reserved.
448508Sbostic  *
548508Sbostic  * %sccs.include.proprietary.c%
619974Sdist  */
719974Sdist 
815486Sralph #ifndef lint
9*61385Sbostic static char sccsid[] = "@(#)circle.c	8.1 (Berkeley) 06/04/93";
1048508Sbostic #endif /* not lint */
1115486Sralph 
1215486Sralph #include "gigi.h"
1315486Sralph 
circle(xc,yc,r)1415486Sralph circle (xc,yc,r)
1515486Sralph int xc,yc,r;
1615486Sralph {
1715486Sralph 	if(r < 1){
1815486Sralph 		point(xc, yc);
1915486Sralph 		return;
2015486Sralph 	}
2115486Sralph 	move(xc, yc);
2215486Sralph 	printf("C[%d]", r);
2315486Sralph }
24