Commit f49bb0c
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 enables. The previous implementation
only applied adaptions on the path to the initial handle and relied
on the path not to be changed after usage. This doesn't cover all
scenarios and can lead to incompletely rendered path when reusing Path
object over different zoom settings.1 parent 9f60279 commit f49bb0c
File tree
5 files changed
+703
-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
+703
-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