xref: /csrg-svn/lib/libplot/bitgraph/circle.c (revision 19851)
1*19851Sdist /*
2*19851Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19851Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19851Sdist  * specifies the terms and conditions for redistribution.
5*19851Sdist  */
6*19851Sdist 
715412Sralph #ifndef lint
8*19851Sdist static char sccsid[] = "@(#)circle.c	5.2 (Berkeley) 04/30/85";
9*19851Sdist #endif not lint
1015412Sralph 
11*19851Sdist 
1215412Sralph circle (xc,yc,r)
1315412Sralph int xc,yc,r;
1415412Sralph {
1515412Sralph 	arc(xc,yc, xc+r,yc, xc-r,yc);
1615412Sralph 	arc(xc,yc, xc-r,yc, xc+r,yc);
1715412Sralph }
18