aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/geom/AffineTransform.java
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@redhat.com>2003-09-17 19:06:55 +0000
committerGraydon Hoare <graydon@gcc.gnu.org>2003-09-17 19:06:55 +0000
commit3b2d7c47c40faaf768857fdde27e18a801453d94 (patch)
tree1b8a9b7ac4a553f1917df84bf7861cd9b07999a0 /libjava/java/awt/geom/AffineTransform.java
parenteb26c76c647b9ce601f44f1c1e714875dbf9c6f4 (diff)
downloadgcc-3b2d7c47c40faaf768857fdde27e18a801453d94.zip
gcc-3b2d7c47c40faaf768857fdde27e18a801453d94.tar.gz
gcc-3b2d7c47c40faaf768857fdde27e18a801453d94.tar.bz2
[multiple changes]
2003-09-16 Graydon Hoare <graydon@redhat.com> * java/awt/BufferedImage.java (setData): Support non-component sample models. (getData): Same. 2003-09-10 Graydon Hoare <graydon@redhat.com> * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs. * java/awt/geom/Arc2D.java: Approximate arc segments with cubics. From-SVN: r71472
Diffstat (limited to 'libjava/java/awt/geom/AffineTransform.java')
-rw-r--r--libjava/java/awt/geom/AffineTransform.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/java/awt/geom/AffineTransform.java b/libjava/java/awt/geom/AffineTransform.java
index 3c9486e..d479763 100644
--- a/libjava/java/awt/geom/AffineTransform.java
+++ b/libjava/java/awt/geom/AffineTransform.java
@@ -1089,7 +1089,7 @@ public class AffineTransform implements Cloneable, Serializable
float x = srcPts[srcOff++];
float y = srcPts[srcOff++];
dstPts[dstOff++] = (float) (m00 * x + m01 * y + m02);
- dstPts[dstOff++] = (float) (m10 * x + m10 * y + m12);
+ dstPts[dstOff++] = (float) (m10 * x + m11 * y + m12);
}
}
@@ -1123,7 +1123,7 @@ public class AffineTransform implements Cloneable, Serializable
double x = srcPts[srcOff++];
double y = srcPts[srcOff++];
dstPts[dstOff++] = m00 * x + m01 * y + m02;
- dstPts[dstOff++] = m10 * x + m10 * y + m12;
+ dstPts[dstOff++] = m10 * x + m11 * y + m12;
}
}
@@ -1148,7 +1148,7 @@ public class AffineTransform implements Cloneable, Serializable
float x = srcPts[srcOff++];
float y = srcPts[srcOff++];
dstPts[dstOff++] = m00 * x + m01 * y + m02;
- dstPts[dstOff++] = m10 * x + m10 * y + m12;
+ dstPts[dstOff++] = m10 * x + m11 * y + m12;
}
}
@@ -1173,7 +1173,7 @@ public class AffineTransform implements Cloneable, Serializable
double x = srcPts[srcOff++];
double y = srcPts[srcOff++];
dstPts[dstOff++] = (float) (m00 * x + m01 * y + m02);
- dstPts[dstOff++] = (float) (m10 * x + m10 * y + m12);
+ dstPts[dstOff++] = (float) (m10 * x + m11 * y + m12);
}
}