Commit 1cf0759
committed
create Image with ImageDataProvider instead of ImageData in
fillGradientRectangle()
This PR refactors the image creation logic in fillGradientRectangle() by using an
ImageDataProvider instead of directly creating ImageData. There is no
visual impact for the changes the behavior should remain as before.1 parent 95b46b6 commit 1cf0759
File tree
1 file changed
+9
-3
lines changed- bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2616 | 2616 | | |
2617 | 2617 | | |
2618 | 2618 | | |
2619 | | - | |
2620 | | - | |
2621 | | - | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
2622 | 2628 | | |
2623 | 2629 | | |
2624 | 2630 | | |
| |||
0 commit comments