shithub: riscv

ref: a04fd342727c329584a9f443092caf21e3884bdf
dir: /sys/src/cmd/plot/libplot/circ.c/

View raw version
#include "mplot.h"
void circ(double xc, double yc, double r){
	Point p;
	int rad;
	p.x=SCX(xc);
	p.y=SCY(yc);
	if (r < 0) 
		rad=SCR(-r);
	else
		rad=SCR(r);
	m_circ(p, rad, e1->foregr);
}