This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch] some geometry fixes
- From: Tom Tromey <tromey at redhat dot com>
- To: graydon hoare <graydon at redhat dot com>
- Cc: java-patches at gcc dot gnu dot org, classpath at gnu dot org
- Date: 10 Sep 2003 13:14:36 -0600
- Subject: Re: [patch] some geometry fixes
- References: <87brtsa83r.fsf@dub.venge.net>
- Reply-to: tromey at redhat dot com
>>>>> "graydon" == graydon hoare <graydon@redhat.com> writes:
graydon> these two patches fix some problems in geometry: AffineTransform was
graydon> mis-transforming points in some cases, and Arc2D wasn't returning a
graydon> path iterator which approximated an arc segment very well.
graydon> ok to commit?
Yes, thanks.
One little note...
graydon> + else if (e <= 90 * (Math.PI / 180))
I think it would be a bit cleaner to just write `e <= Math.PI / 2',
i.e., reduce the fractions.
Tom