Re: [JAVA2D] question about the use of PathIterator

2002-04-02 Thread Jim Graham
Hi Aant, This test case appears to demonstrate an idiosyncrasy of the way that we store the data internally in an Area object. Both paths represent their input polygons accurately - explicitly drawing a line back to the starting point before a closepath is superfluous but not incorrect. Thus

Re: [JAVA2D] question about the use of PathIterator

2002-04-02 Thread Jim Graham
Hi Aant, One more thing. You mentioned that the Area's iteration had the direction in reverse. The Area has digested the geometry and simplified it so there is no guarantee that the ordering or the number of subpaths or any aspect of the original geometry iteration will be preserved in the

Re: [JAVA2D] question about the use of PathIterator

2002-04-01 Thread Jim Graham
Hi Aant, We would need to see some code here to understand what you are saying. The description is not precise enough. Can you write a small (less than 50 lines) test case for this? ...jim --On Thursday, March 28, 2002 16:02:37 +0100 aant [EMAIL PROTECTED]

[JAVA2D] question about the use of PathIterator

2002-03-28 Thread aant
Hi all I have a question about the Pathiterator and Area's I make a Area from a Polygon with ar = new Area(pg) where pg is a polygon with 3 or 4 edges. When i use the pathiterator to get the coordinates is got into problems. In one case i have a 3 edges Polygon en in the Area i get 4 coordinates,