xref: /csrg-svn/lib/libplot/gigi/circle.c (revision 19974)
1*19974Sdist /*
2*19974Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19974Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19974Sdist  * specifies the terms and conditions for redistribution.
5*19974Sdist  */
6*19974Sdist 
715486Sralph #ifndef lint
8*19974Sdist static char sccsid[] = "@(#)circle.c	5.1 (Berkeley) 05/07/85";
9*19974Sdist #endif not lint
1015486Sralph 
1115486Sralph #include "gigi.h"
1215486Sralph 
1315486Sralph circle (xc,yc,r)
1415486Sralph int xc,yc,r;
1515486Sralph {
1615486Sralph 	if(r < 1){
1715486Sralph 		point(xc, yc);
1815486Sralph 		return;
1915486Sralph 	}
2015486Sralph 	move(xc, yc);
2115486Sralph 	printf("C[%d]", r);
2215486Sralph }
23