javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java Fri Jul 09 16:35:45 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java Fri Jul 23 12:27:20 2010 +0300
@@ -11,6 +11,8 @@
package org.eclipse.swt.graphics;
+import java.io.InputStream;
+
/**
* <p>
* <b>IMPORTANT:</b> This class is <em>not</em> part of the SWT public API. It
@@ -63,4 +65,13 @@
String filename) {
return Image.createImageWithoutSecurityCheck(device, filename);
}
+
+public static Point getImageSize(Device device, String filename) {
+ return Image.getImageSize(device, filename);
}
+
+public static Point getImageSize(InputStream stream) {
+ return Image.getImageSize(stream);
+}
+
+}