Commit 85b12bc
committed
[win32] Refactor path to support multiple handles
This commit refactors Path in the win32 implementation to better
support multiple handles for different zoom settings of a Path when
monitor-specific scaling is enabled. The previous implementation
only applied adaptions to the initial handle of the path and relied
on the path not to be changed afterwards. This doesn't cover all
scenarios and can lead to unexpected behavior when re-using Path
objects over different zoom settings.1 parent 9f60279 commit 85b12bc
File tree
5 files changed
+692
-248
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
+692
-248
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | | - | |
54 | | - | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
| |||
0 commit comments