[kaffe] CVS kaffe (robilad): Resynced with GNU classpath: fixed epsilon value for GeneralPath.evaluateCrossin
Kaffe CVS
cvs-commits at kaffe.org
Wed Nov 10 04:31:38 PST 2004
PatchSet 5432
Date: 2004/11/10 12:27:14
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU classpath: fixed epsilon value for GeneralPath.evaluateCrossings
2004-11-10 Dalibor Topic <robilad at kaffe.org>
* libraries/javalib/java/awt/geom/GeneralPath.java:
Resynced with GNU Classpath.
2004-11-07 Sven de Marothy <sven at physto.se>
* java/awt/geom/GeneralPath.java (evaluateCrossings):
Fixed epsilon value, should always be nonzero.
Members:
ChangeLog:1.2981->1.2982
libraries/javalib/java/awt/geom/GeneralPath.java:1.6->1.7
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2981 kaffe/ChangeLog:1.2982
--- kaffe/ChangeLog:1.2981 Wed Nov 10 12:17:45 2004
+++ kaffe/ChangeLog Wed Nov 10 12:27:14 2004
@@ -7,6 +7,16 @@
2004-11-10 Dalibor Topic <robilad at kaffe.org>
+ * libraries/javalib/java/awt/geom/GeneralPath.java:
+ Resynced with GNU Classpath.
+
+ 2004-11-07 Sven de Marothy <sven at physto.se>
+
+ * java/awt/geom/GeneralPath.java (evaluateCrossings):
+ Fixed epsilon value, should always be nonzero.
+
+2004-11-10 Dalibor Topic <robilad at kaffe.org>
+
* libraries/javalib/java/awt/image/BandedSampleModel.java:
Resynced with GNU Classpath.
Index: kaffe/libraries/javalib/java/awt/geom/GeneralPath.java
diff -u kaffe/libraries/javalib/java/awt/geom/GeneralPath.java:1.6 kaffe/libraries/javalib/java/awt/geom/GeneralPath.java:1.7
--- kaffe/libraries/javalib/java/awt/geom/GeneralPath.java:1.6 Thu Oct 28 20:07:15 2004
+++ kaffe/libraries/javalib/java/awt/geom/GeneralPath.java Wed Nov 10 12:27:16 2004
@@ -778,7 +778,10 @@
/* Get a value which is hopefully small but not insignificant relative
the path. */
- epsilon = ypoints[0] * 1E-9;
+ epsilon = ypoints[0] * 1E-7;
+
+ if(epsilon == 0)
+ epsilon = 1E-7;
pos = 0;
while (pos < index)
More information about the kaffe
mailing list