[Polycasso-commit] SF.net SVN: polycasso:[166] trunk/polycasso/src/com/mebigfatguy/polycasso/ Image
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-09 05:43:05
|
Revision: 166
http://polycasso.svn.sourceforge.net/polycasso/?rev=166&view=rev
Author: dbrosius
Date: 2009-12-09 05:09:57 +0000 (Wed, 09 Dec 2009)
Log Message:
-----------
fcbl
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java 2009-12-09 05:03:24 UTC (rev 165)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/ImageSizer.java 2009-12-09 05:09:57 UTC (rev 166)
@@ -27,7 +27,6 @@
public class ImageSizer implements ImageObserver {
private Object lock = new Object();
- private Image image;
private int imageWidth = -1;
private int imageHeight = -1;
@@ -37,9 +36,8 @@
* @param loadedImage the image to get the width and height of
*/
public ImageSizer(Image loadedImage) {
- image = loadedImage;
- imageWidth = image.getWidth(this);
- imageHeight = image.getHeight(this);
+ imageWidth = loadedImage.getWidth(this);
+ imageHeight = loadedImage.getHeight(this);
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|