xref: /csrg-svn/lib/libplot/bitgraph/circle.c (revision 48504)
1*48504Sbostic /*-
2*48504Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*48504Sbostic  * All rights reserved.
4*48504Sbostic  *
5*48504Sbostic  * %sccs.include.proprietary.c%
619851Sdist  */
719851Sdist 
815412Sralph #ifndef lint
9*48504Sbostic static char sccsid[] = "@(#)circle.c	5.3 (Berkeley) 04/22/91";
10*48504Sbostic #endif /* not lint */
1115412Sralph 
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