Commit 8be37d6
committed
[win32] Dynamic handle creation for transform
This commit refactors Transform in the win32 implementation to better
support multiple handles for different zoom settings of a Transform when
monitor-specific scaling is enabled. The previous implementation
only applied adaptions to the initial handle of the transform and relied
on the transform not to be changed afterwards. This doesn't cover all
scenarios and can lead to unexpected behavior when re-using Transform
objects over different zoom settings.1 parent 9f60279 commit 8be37d6
File tree
5 files changed
+361
-55
lines changed- bundles/org.eclipse.swt
- Eclipse SWT Tests/win32/org/eclipse/swt/graphics
- Eclipse SWT/win32/org/eclipse/swt/graphics
- examples/org.eclipse.swt.examples/src
- org/eclipse/swt/examples/graphics
5 files changed
+361
-55
lines changedLines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
0 commit comments