Skip to content

Require a StrokeKind when painting rectangles with strokes - #5648

Merged
emilk merged 6 commits into
masterfrom
emilk/stroke-kind-in-api
Jan 29, 2025
Merged

emilk merged 6 commits into
masterfrom
emilk/stroke-kind-in-api

Conversation

@emilk

@emilk emilk commented Jan 29, 2025

Copy link
Copy Markdown
Owner

This is a breaking change, requiring users to think about wether the stroke is inside/centered/outside the rect.

When in doubt, add egui::StrokeKind::Inside to the function call.

@github-actions

Copy link
Copy Markdown

Preview available at https://egui-pr-preview.github.io/pr/5648-emilkstroke-kind-in-api
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk
emilk merged commit 525d435 into master Jan 29, 2025
@emilk
emilk deleted the emilk/stroke-kind-in-api branch January 29, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant