Commit 1dc4da2
committed
Store Region in GC.SetClippingRegionOperation #62
This commit refactors GC.SetClippingRegionOperation to store Region and
hence refactors GC:setClipping(Region) to call the Operation instead of
GC:setClipping(long) for a better behaviour on a GC refresh.
Contributes to
#62 and
#1281 parent f0afb7f commit 1dc4da2
File tree
2 files changed
+15
-7
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
2 files changed
+15
-7
lines changedLines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4730 | 4730 | | |
4731 | 4731 | | |
4732 | 4732 | | |
4733 | | - | |
| 4733 | + | |
4734 | 4734 | | |
4735 | 4735 | | |
4736 | 4736 | | |
4737 | | - | |
| 4737 | + | |
4738 | 4738 | | |
4739 | | - | |
4740 | | - | |
| 4739 | + | |
| 4740 | + | |
| 4741 | + | |
4741 | 4742 | | |
4742 | 4743 | | |
4743 | 4744 | | |
4744 | 4745 | | |
4745 | | - | |
| 4746 | + | |
| 4747 | + | |
4746 | 4748 | | |
4747 | 4749 | | |
4748 | 4750 | | |
| |||
4880 | 4882 | | |
4881 | 4883 | | |
4882 | 4884 | | |
4883 | | - | |
| 4885 | + | |
4884 | 4886 | | |
4885 | 4887 | | |
4886 | 4888 | | |
| |||
4905 | 4907 | | |
4906 | 4908 | | |
4907 | 4909 | | |
4908 | | - | |
| 4910 | + | |
4909 | 4911 | | |
4910 | 4912 | | |
4911 | 4913 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
647 | 653 | | |
648 | 654 | | |
649 | 655 | | |
| |||
0 commit comments