diff options
author | Carolyn MacLeod <carolyn> | 2002-03-13 20:10:14 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2002-03-13 20:10:14 +0000 |
commit | 33576b446f896009c143bb9c4fc9d01d1e1e0158 (patch) | |
tree | f63ed9729ebce8f8d7244d9818f0061139c9ce22 /bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java | |
parent | 0d4a2898f11f5d893b44c58fa863699edad3710c (diff) | |
download | eclipse.platform.swt-33576b446f896009c143bb9c4fc9d01d1e1e0158.tar.gz eclipse.platform.swt-33576b446f896009c143bb9c4fc9d01d1e1e0158.tar.xz eclipse.platform.swt-33576b446f896009c143bb9c4fc9d01d1e1e0158.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java index f733122bf4..8d768231fe 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk1x/org/eclipse/swt/graphics/Image.java @@ -132,6 +132,12 @@ Image() { * gc.drawRectangle(0, 0, 50, 50); * gc.dispose(); * </pre> + * <p> + * Note: Some platforms may have a limitation on the size + * of image that can be created (size depends on width, height, + * and depth). For example, Windows 95, 98, and ME do not allow + * images larger than 16M. + * </p> * * @param device the device on which to create the image * @param width the width of the new image @@ -253,6 +259,12 @@ public Image(Device device, Image srcImage, int flag) { * gc.drawRectangle(0, 0, 50, 50); * gc.dispose(); * </pre> + * <p> + * Note: Some platforms may have a limitation on the size + * of image that can be created (size depends on width, height, + * and depth). For example, Windows 95, 98, and ME do not allow + * images larger than 16M. + * </p> * * @param device the device on which to create the image * @param bounds a rectangle specifying the image's width and height (must not be null) |