FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   filled ellipse overlapping stroked ellipse
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: filled ellipse overlapping stroked ellipse  (Read 1052 times)
kevinP

Email
filled ellipse overlapping stroked ellipse
« on: May 13th, 2004, 12:52am »

Hi,
 
I think this is probably already noted, but just in case not...
 
 
Code:

void
draw()
{
  size(200, 200);
  ellipseMode(CENTER_DIAMETER);
  rectMode(CENTER_DIAMETER);
  translate(width/2, width/2);
  noFill();
  smooth();
  stroke(33,33,33);
  ellipse(0,0, 76,76);
 
  // smaller circle/square should hide underlying ellipse
 
  noStroke();
  fill(200,200,0);
  translate(38, 0);
  ellipse(0,0, 30,30);
  translate(-38, 38);
  rect(0,0, 30,30);
}

 
[Hmmm... I thought this was related to smooth(), but now I have another instance where it makes no difference whether I use smooth() or not.]
 
Alpha 0068, Linux
 
-K
« Last Edit: May 13th, 2004, 1:26am by kevinP »  

Kevin Pfeiffer
Pages: 1 

« Previous topic | Next topic »