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 the
behavior is not a bug.

The circumstances under which the Area iterator will place an explicit line
before a closepath have to do with whether or not the top of the shape is a
horizontal line.  If it is a horizontal line then the Area's iterator will
simply use a closepath segment to closet it.  If the top is a point then
it will start at that point and come back to it (with a non-horizontal
segment) at the end before the final closepath.

But in either case, the iterator has accurately described the correct
closed shape.

                                ...jim

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to