xref: /csrg-svn/lib/libplot/hp7221/circle.c (revision 61393)
148518Sbostic /*-
2*61393Sbostic  * Copyright (c) 1980, 1993
3*61393Sbostic  *	The Regents of the University of California.  All rights reserved.
448518Sbostic  *
548518Sbostic  * %sccs.include.proprietary.c%
619978Sdist  */
719978Sdist 
815465Sralph #ifndef lint
9*61393Sbostic static char sccsid[] = "@(#)circle.c	8.1 (Berkeley) 06/04/93";
1048518Sbostic #endif /* not lint */
1115465Sralph 
1215465Sralph #include "hp7221.h"
1315465Sralph 
circle(xc,yc,r)1415465Sralph circle (xc,yc,r)
1515465Sralph     int	xc,yc,r;
1615465Sralph {
1715465Sralph     if( r < 1 ) {
1815465Sralph 	point( xc, yc );
1915465Sralph 	return;
2015465Sralph     }
2115465Sralph     move( xc, yc );
2215465Sralph     putchar( 't' );
2315465Sralph     putMBN( scaleX(r) );
2415465Sralph }
25