diff options
author | Niraj Modi | 2017-05-15 10:39:11 +0000 |
---|---|---|
committer | Niraj Modi | 2017-05-16 13:12:03 +0000 |
commit | 4257df0875a4d67475df282bb8c73ad6ccc40b2f (patch) | |
tree | 0edb90f93ebf5c10e45b4b6c320c42e08213af5c /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt | |
parent | dc7e0ef5686b146d03dc2f67e66ab08744dca315 (diff) | |
download | eclipse.platform.swt-4257df0875a4d67475df282bb8c73ad6ccc40b2f.tar.gz eclipse.platform.swt-4257df0875a4d67475df282bb8c73ad6ccc40b2f.tar.xz eclipse.platform.swt-4257df0875a4d67475df282bb8c73ad6ccc40b2f.zip |
Bug 516639: [HiDPI] Fix JavaDoc for deprecated APIs
Image#getBoundsInPixels() and Image#getImageDataAtCurrentZoom()
Change-Id: I3c856e1825aa1a7cf0da5040975e4b79826013c8
Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java index 1c31c22e0b..43dc9e705f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java @@ -1419,8 +1419,8 @@ Rectangle getBounds(int zoom) { * <li>ERROR_INVALID_IMAGE - if the image is not a bitmap or an icon</li> * </ul> * @since 3.105 - * @deprecated This API doesn't make sense and will be replaced, see - * <a href="https://bugs.eclipse.org/496409">bug 496409</a> + * @deprecated This API doesn't serve the purpose in an environment having + * multiple monitors with different DPIs and hence deprecated. */ @Deprecated public Rectangle getBoundsInPixels() { @@ -1535,10 +1535,6 @@ public ImageData getImageData (int zoom) { * Returns an <code>ImageData</code> based on the receiver. * Modifications made to this <code>ImageData</code> will not * affect the Image. - * <p> - * <b>Warning:</b> This API doesn't make sense and will be replaced, see - * <a href="https://bugs.eclipse.org/496409">bug 496409</a>. - * </p> * * @return an <code>ImageData</code> containing the image's data * and attributes at the current zoom level. @@ -1550,7 +1546,9 @@ public ImageData getImageData (int zoom) { * * @see ImageData * @since 3.105 - * @deprecated use {@link #getImageData(int)} instead + * @deprecated This API doesn't serve the purpose in an environment having + * multiple monitors with different DPIs and hence deprecated, use + * {@link #getImageData(int)} instead. */ @Deprecated public ImageData getImageDataAtCurrentZoom() { |