Commit a389086
Fix image handle creation to use correct native zoom
In some cases where an image handle is passed to drawImage, the handle was created with nativeZoom passed as Gc::getZoom(), this would cause the font sizes to be wrong when drawing text with an imageGCDrawer. This change ensures that the image handle is created with the correct nativeZoom from GC.1 parent 65ec239 commit a389086
File tree
1 file changed
+2
-2
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1062 | 1062 | | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | | - | |
| 1065 | + | |
1066 | 1066 | | |
1067 | 1067 | | |
1068 | 1068 | | |
| |||
1279 | 1279 | | |
1280 | 1280 | | |
1281 | 1281 | | |
1282 | | - | |
| 1282 | + | |
1283 | 1283 | | |
1284 | 1284 | | |
1285 | 1285 | | |
| |||
0 commit comments