[ ChangeLog ]

2003-07-18  Graydon Hoare  <graydon@redhat.com>

	* java/awt/geom/CubicCurve2D.java,
	java/awt/geom/Line2D.java,
	java/awt/geom/QuadCurve2D.java,
	java/awt/geom/Rectangle2D.java:
	Fix path some calculations, make path iterators follow
	a consistent style.

From-SVN: r69567
This commit is contained in:
Graydon Hoare
2003-07-18 19:20:33 +00:00
committed by Graydon Hoare
parent 0595d388a4
commit 9e508cc470
5 changed files with 69 additions and 52 deletions
+2 -2
View File
@@ -668,7 +668,7 @@ public abstract class Line2D implements Shape, Cloneable
return new PathIterator()
{
/** Current coordinate. */
private int current;
private int current = 0;
public int getWindingRule()
{
@@ -677,7 +677,7 @@ public abstract class Line2D implements Shape, Cloneable
public boolean isDone()
{
return current < 2;
return current >= 2;
}
public void next()