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

Bump kurbo and remove Stroke #14

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Bump kurbo and remove Stroke #14

merged 1 commit into from
Oct 5, 2023

Conversation

raphlinus
Copy link
Contributor

Now that kurbo 0.10 can represent stroke styles, remove it from this crate. Note that this also removes the scale parameter, which was used to model the non-scaling stroke vector effect in SVG.

The Fill and Style enums are kept, as fill rule represents a rendering choice and not path geometry, and is not (at least at the moment) represented in kurbo.

Now that kurbo 0.10 can represent stroke styles, remove it from this crate. Note that this also removes the `scale` parameter, which was used to model the non-scaling stroke vector effect in SVG.

The `Fill` and `Style` enums are kept, as fill rule represents a rendering choice and not path geometry, and is not (at least at the moment) represented in kurbo.
Copy link
Contributor

@dfrg dfrg left a comment

Choose a reason for hiding this comment

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

One step closer!

It might be nice if we publicly re-export the removed types to keep the API consistent but that doesn’t need to be in this PR.

@raphlinus raphlinus merged commit 629fc33 into main Oct 5, 2023
1 check passed
@raphlinus raphlinus deleted the kurbo_stroke branch October 5, 2023 13:39
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