This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 0c073bf
committed
[[ ClipToPath ]] Implement clip to path
This patch implements a new statement in the lcb canvas library to clip
to a path. Previously only setting a clipping rectangle was supported
however this patch allows for more complext cliping paths. It additionally
simplifies the clipping of images as there is no need to create a pattern
paint from them and fill a path.1 parent e32934f commit 0c073bf
File tree
6 files changed
+58
-0
lines changed- docs/lcb/notes
- engine/src
- libgraphics
- include
- src
6 files changed
+58
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4288 | 4288 | | |
4289 | 4289 | | |
4290 | 4290 | | |
| 4291 | + | |
4291 | 4292 | | |
4292 | 4293 | | |
4293 | 4294 | | |
| |||
4612 | 4613 | | |
4613 | 4614 | | |
4614 | 4615 | | |
| 4616 | + | |
| 4617 | + | |
| 4618 | + | |
| 4619 | + | |
| 4620 | + | |
| 4621 | + | |
| 4622 | + | |
| 4623 | + | |
| 4624 | + | |
| 4625 | + | |
| 4626 | + | |
| 4627 | + | |
| 4628 | + | |
| 4629 | + | |
| 4630 | + | |
| 4631 | + | |
| 4632 | + | |
| 4633 | + | |
| 4634 | + | |
| 4635 | + | |
| 4636 | + | |
| 4637 | + | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
4615 | 4641 | | |
4616 | 4642 | | |
4617 | 4643 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5781 | 5781 | | |
5782 | 5782 | | |
5783 | 5783 | | |
| 5784 | + | |
| 5785 | + | |
| 5786 | + | |
| 5787 | + | |
| 5788 | + | |
| 5789 | + | |
| 5790 | + | |
| 5791 | + | |
| 5792 | + | |
5784 | 5793 | | |
5785 | 5794 | | |
5786 | 5795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| 572 | + | |
572 | 573 | | |
573 | 574 | | |
574 | 575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
| 928 | + | |
928 | 929 | | |
929 | 930 | | |
930 | 931 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1340 | 1340 | | |
1341 | 1341 | | |
1342 | 1342 | | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
1343 | 1351 | | |
1344 | 1352 | | |
1345 | 1353 | | |
| |||
0 commit comments