[JAVA2D] Serialization

2002-04-02 Thread Giacomo Fiorentini
Title: Serialization Hi, Is there any simple way to serialize a generic geometric object (like PathIterator, Shape etc... Java2D geometries ) ? In the 1.3.x there is no possibility for native serialization: you have to recreate all the classes implementing the ISerializable interface. Is

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

[JAVA2D] Lookup and AffineTransform

2002-04-02 Thread Jakub Jaboski
Hello, I have 1-band image of TYPE_USHORT. After JAI Lookup operation and I get 3-band image of TYPE_USHORT. When I display it with drawRenderedImage with AffineTransform that is not an identity, I get following exception: java.awt.image.ImagingOpException: Unable to transform src image