Parent Directory | Revision Log | Patch
revision 1.7 by graydon, Fri Jul 18 19:35:02 2003 UTC | revision 1.8 by brawer, Wed Sep 24 17:48:47 2003 UTC | |
---|---|---|
# | Line 399 public abstract class Rectangle2D extend | Line 399 public abstract class Rectangle2D extend |
399 | ||
400 | public int getWindingRule() | public int getWindingRule() |
401 | { | { |
402 | return WIND_EVEN_ODD; | // A test program showed that Sun J2SE 1.3.1 and 1.4.1_01 |
403 | // return WIND_NON_ZERO paths. While this does not really | |
404 | // make any difference for rectangles (because they are not | |
405 | // self-intersecting), it seems appropriate to behave | |
406 | // identically. | |
407 | ||
408 | return WIND_NON_ZERO; | |
409 | } | } |
410 | ||
411 | public boolean isDone() | public boolean isDone() |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |