Commit 3e45b23
[win32] do not call getImageData on getBounds call
This commit unifies the getBounds calculation for ImageDataProvider and
ImageFileNameProvider by always scaling the bounds of an existing handle
of an image, if the bounds for a different zoom are requested.
fixes #16391 parent 00c2cf3 commit 3e45b23
File tree
1 file changed
+3
-3
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2185 | 2185 | | |
2186 | 2186 | | |
2187 | 2187 | | |
2188 | | - | |
2189 | | - | |
2190 | | - | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
2191 | 2191 | | |
2192 | 2192 | | |
2193 | 2193 | | |
| |||
0 commit comments