weimingtom / processingas

Automatically exported from code.google.com/p/processingas
0 stars 0 forks source link

ellipseMode(CENTER_RADIUS) causes the arc function to draw at half size instead of double size #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
can be tested using this program:

size(200,200);
background(225);
fill(255,20);
ellipseMode(CENTER_RADIUS);
arc(50, 55, 50, 50, 0, PI/2);
arc(50, 55, 60, 60, PI/2, PI);
arc(50, 55, 70, 70, PI, TWO_PI-PI/2);
arc(50, 55, 80, 80, TWO_PI-PI/2, TWO_PI);
fill(0,20);
ellipseMode(CENTER);
arc(50, 55, 50, 50, 0, PI/2);
arc(50, 55, 60, 60, PI/2, PI);
arc(50, 55, 70, 70, PI, TWO_PI-PI/2);
arc(50, 55, 80, 80, TWO_PI-PI/2, TWO_PI); 

Original issue reported on code.google.com by davidedc on 15 Dec 2008 at 8:07