[kaffe] CVS kaffe (robilad): Resynced with GNU Classpath: imageio improvements
Kaffe CVS
cvs-commits at kaffe.org
Wed Jan 5 11:45:05 PST 2005
PatchSet 5766
Date: 2005/01/05 19:40:41
Author: robilad
Branch: HEAD
Tag: (none)
Log:
Resynced with GNU Classpath: imageio improvements
Members:
ChangeLog:1.3310->1.3311
libraries/javalib/javax/imageio/IIOParam.java:1.2->1.3
libraries/javalib/javax/imageio/ImageReadParam.java:1.2->1.3
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3310 kaffe/ChangeLog:1.3311
--- kaffe/ChangeLog:1.3310 Wed Jan 5 19:37:10 2005
+++ kaffe/ChangeLog Wed Jan 5 19:40:41 2005
@@ -4,6 +4,20 @@
2004-12-27 Michael Koch <konqueror at gmx.de>
+ * javax/imageio/IIOParam.java
+ (setSourceBands): New method.
+ (setSourceSubsampling): Likewise.
+ * javax/imageio/ImageReadParam.java
+ (setDestination): Likewise.
+ (setDestinationBands): Likewise.
+ (setSourceProgressivePasses): Likewise.
+
+2005-01-05 Dalibor Topic <robilad at kaffe.org>
+
+ Resynced with GNU Classpath.
+
+ 2004-12-27 Michael Koch <konqueror at gmx.de>
+
* javax/swing/AbstractAction.java,
javax/swing/AbstractCellEditor.java,
javax/swing/AbstractListModel.java,
Index: kaffe/libraries/javalib/javax/imageio/IIOParam.java
diff -u kaffe/libraries/javalib/javax/imageio/IIOParam.java:1.2 kaffe/libraries/javalib/javax/imageio/IIOParam.java:1.3
--- kaffe/libraries/javalib/javax/imageio/IIOParam.java:1.2 Tue Oct 5 22:11:20 2004
+++ kaffe/libraries/javalib/javax/imageio/IIOParam.java Wed Jan 5 19:40:41 2005
@@ -141,6 +141,11 @@
this.destinationOffset = destinationOffset;
}
+ public void setSourceBands(int[] sourceBands)
+ {
+ this.sourceBands = sourceBands;
+ }
+
public void setSourceRegion(Rectangle sourceRegion)
{
if (sourceRegion != null
@@ -153,5 +158,14 @@
// FIXME: Throw IllegalStateException.
this.sourceRegion = sourceRegion;
+ }
+
+ public void setSourceSubsampling(int sourceXSubsampling, int sourceYSubsampling,
+ int subsamplingXOffset, int subsamplingYOffset)
+ {
+ this.sourceXSubsampling = sourceXSubsampling;
+ this.sourceYSubsampling = sourceYSubsampling;
+ this.subsamplingXOffset = subsamplingXOffset;
+ this.subsamplingYOffset = subsamplingYOffset;
}
}
Index: kaffe/libraries/javalib/javax/imageio/ImageReadParam.java
diff -u kaffe/libraries/javalib/javax/imageio/ImageReadParam.java:1.2 kaffe/libraries/javalib/javax/imageio/ImageReadParam.java:1.3
--- kaffe/libraries/javalib/javax/imageio/ImageReadParam.java:1.2 Tue Oct 5 22:11:20 2004
+++ kaffe/libraries/javalib/javax/imageio/ImageReadParam.java Wed Jan 5 19:40:41 2005
@@ -94,6 +94,22 @@
{
return sourceRenderSize;
}
+
+ public void setDestination(BufferedImage destination)
+ {
+ this.destination = destination;
+ }
+
+ public void setDestinationBands(int[] destinationBands)
+ {
+ this.destinationBands = destinationBands;
+ }
+
+ public void setSourceProgressivePasses(int minPass, int numPasses)
+ {
+ this.minProgressivePass = minPass;
+ this.numProgressivePasses = numPasses;
+ }
public void setSourceRenderSize(Dimension size)
throws UnsupportedOperationException
More information about the kaffe
mailing list