Commit 41d3797
committed
[Win32] Convert dash offset for line attributes in GC into pixels
When setting line attributes in a GC, the properties containing
zoom-specific values are transformed from point into pixel values when
assigning them to the actual GC data. While this is properly done for
line width and dash, it is currently not done for the dash offset. With
this change, also the dash offset is properly transformed into a pixel
value.1 parent f332d79 commit 41d3797
File tree
1 file changed
+3
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4199 | 4199 | | |
4200 | 4200 | | |
4201 | 4201 | | |
| 4202 | + | |
4202 | 4203 | | |
4203 | 4204 | | |
4204 | 4205 | | |
| |||
5367 | 5368 | | |
5368 | 5369 | | |
5369 | 5370 | | |
| 5371 | + | |
5370 | 5372 | | |
5371 | | - | |
| 5373 | + | |
5372 | 5374 | | |
5373 | 5375 | | |
5374 | 5376 | | |
| |||
0 commit comments