* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
(doPolygon): set fill rule of polygon to WIND_EVEN_ODD by default From-SVN: r75971
This commit is contained in:
parent
1303d0344b
commit
f30dbd2039
|
@ -1,3 +1,9 @@
|
|||
2004-01-16 Olga Rodimina <rodimina@redhat.com>
|
||||
|
||||
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
|
||||
(doPolygon): set fill rule of polygon to
|
||||
WIND_EVEN_ODD by default.
|
||||
|
||||
2004-01-15 Olga Rodimina <rodimina@redhat.com>
|
||||
|
||||
* gnu/java/awt/peer/gtk/GdkGraphics2D.java:
|
||||
|
|
|
@ -776,7 +776,7 @@ public class GdkGraphics2D extends Graphics2D
|
|||
{
|
||||
if (nPoints < 1)
|
||||
return;
|
||||
GeneralPath gp = new GeneralPath ();
|
||||
GeneralPath gp = new GeneralPath (PathIterator.WIND_EVEN_ODD);
|
||||
gp.moveTo ((float)xPoints[0], (float)yPoints[0]);
|
||||
for (int i = 1; i < nPoints; i++)
|
||||
gp.lineTo ((float)xPoints[i], (float)yPoints[i]);
|
||||
|
|
Loading…
Reference in New Issue