Commit 336ac03
committed
[win32] Adapt GC zoom when using plain images
This commit adapts the zoom passed to the GC when it is initialized for
a plain Image created via Image#Image(Device, int, int) with a given width
and height. It will fall back to DPIUtil#getNativeZoom again to revert
to original bevahiour and prevent blurry rescaling of old usages.1 parent 9d3227d commit 336ac03
File tree
1 file changed
+5
-0
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2107 | 2107 | | |
2108 | 2108 | | |
2109 | 2109 | | |
| 2110 | + | |
| 2111 | + | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
2110 | 2115 | | |
2111 | 2116 | | |
2112 | 2117 | | |
| |||
0 commit comments