bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/27700] OSM applet is unable to invert transform AffineTransform


From: pere at hungry dot com
Subject: [Bug awt/27700] OSM applet is unable to invert transform AffineTransform
Date: 21 May 2006 12:16:30 -0000


------- Comment #1 from pere at hungry dot com  2006-05-21 12:16 -------
I wrote the following test program to see if the problem is in the 
inverting function or in the values passed to it.

/* testAffineInvert.java */
import java.awt.geom.AffineTransform;
import java.awt.geom.NoninvertibleTransformException;
class testAffineInvert {
    public static void main(String args[]) {
        AffineTransform at = new AffineTransform(1.0, 0.0, 0.0, 0.0, -77.0,
595.0);
        try {
            AffineTransform inv_at = at.createInverse();
        } catch (NoninvertibleTransformException e) {
            System.out.println("Unable to invert transform " + at.toString());
        }
    }
}

The program throw an exception with SUN JDK as well.  So the problem must be
in the code populating the matrox, not in the createInverse() function.


-- 

pere at hungry dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|OSM applet is unable to     |OSM applet is unable to
                   |invert transform            |invert transform
                   |AffineTransform             |AffineTransform


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27700





reply via email to

[Prev in Thread] Current Thread [Next in Thread]