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

intersect: Add precise line-bezier intersection #313

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

johannes-wolf
Copy link
Member

@johannes-wolf johannes-wolf commented Oct 31, 2023

Use this for the border anchor calculation. Path/path intersection still defaults to the sampling based linear intersection.

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.

this is cool, nice work. Could path-path be improved by using line-path somehow?

src/intersection.typ Outdated Show resolved Hide resolved
src/intersection.typ Outdated Show resolved Hide resolved
@johannes-wolf
Copy link
Member Author

Changed. Also found a little bug in the intersection code :)

@johannes-wolf johannes-wolf merged commit 89abc61 into redesign-internals Nov 1, 2023
0 of 2 checks passed
@johannes-wolf johannes-wolf deleted the cetz-234-lines-between-elements branch November 1, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants