Commit 2619caa
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 2d95f10 commit 2619caa
File tree
1 file changed
+8
-3
lines changed- bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics
1 file changed
+8
-3
lines changedLines changed: 8 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 | + | |
2622 | 2627 | | |
2623 | 2628 | | |
2624 | 2629 | | |
| |||
0 commit comments