Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clipping: Add path clipping support #535

Closed
wants to merge 4 commits into from
Closed

clipping: Add path clipping support #535

wants to merge 4 commits into from

Conversation

johannes-wolf
Copy link
Member

@johannes-wolf johannes-wolf commented Mar 20, 2024

This PR implements boolean path operations. The implementation is handled by a C++ library: contourklip.

@johannes-wolf johannes-wolf added enhancement ⬆️ New feature or request feature 🎁 Feature Request labels Mar 20, 2024
@johannes-wolf johannes-wolf force-pushed the clipping branch 7 times, most recently from 6f64ad5 to 61dd7ee Compare March 21, 2024 00:20
Copy link
Member

@fenjalien fenjalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I've come around to the idea of keeping plugins in this repository. This is mostly due to the fact that I can't think of any alternatives that would cause more hassle and problems than they're worth.

I would like to propose a slight restructuring though. Put the plugin in a dedicated folder plugins/clipping/ and call it clipping.wasm instead of cetz.wasm.

The draw and lib folders probably need a restructure as well but that can be left to another PR.

@johannes-wolf
Copy link
Member Author

We can not use contourklip because of it being GPL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core:draw ✏️ enhancement ⬆️ New feature or request feature 🎁 Feature Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants