Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ public ImageData getImageData() {
* multiple monitors with different DPIs, hence deprecated. Use
* {@link #getImageData(int)} instead.
*/
@Deprecated
@Deprecated(since = "2025-09", forRemoval = true)
public ImageData getImageDataAtCurrentZoom() {
return getImageData(DPIUtil.getDeviceZoom());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ public ImageData getImageData () {
* multiple monitors with different DPIs, hence deprecated. Use
* {@link #getImageData(int)} instead.
*/
@Deprecated
@Deprecated(since = "2025-09", forRemoval = true)
public ImageData getImageDataAtCurrentZoom () {
if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ public ImageData getImageData (int zoom) {
* multiple monitors with different DPIs, hence deprecated. Use
* {@link #getImageData(int)} instead.
*/
@Deprecated
@Deprecated(since = "2025-09", forRemoval = true)
public ImageData getImageDataAtCurrentZoom() {
return applyUsingAnyHandle(ImageHandle::getImageData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ public void test_getBoundsInPixels() {
assertEquals("Image.getBoundsInPixels method doesn't return bounds in Pixel values for ImageGcDrawer.", DPIUtil.autoScaleUp(initialBounds), boundsInPixels);
}

@SuppressWarnings("deprecation")
@SuppressWarnings("removal")
@Test
public void test_getImageDataCurrentZoom() {
Rectangle bounds = new Rectangle(0, 0, 10, 20);
Expand Down
Loading