Skip to content

Add stroke_rectangle to canvas::Frame#2473

Merged
hecrj merged 2 commits into
iced-rs:masterfrom
vladh:add-stroke-rectangle
Sep 10, 2024
Merged

Add stroke_rectangle to canvas::Frame#2473
hecrj merged 2 commits into
iced-rs:masterfrom
vladh:add-stroke-rectangle

Conversation

@vladh

@vladh vladh commented Jun 21, 2024

Copy link
Copy Markdown
Contributor

This method should be able to leverage performance improvements in lyon's tessellate_rectangle over tessellate_path.

Did some quick profiling, this seems to result in a 25% reduction in frame time.

vladh and others added 2 commits September 10, 2024 23:44
This method should be able to leverage performance improvements in lyon's
`tessellate_rectangle` over `tessellate_path`.
@hecrj hecrj force-pushed the add-stroke-rectangle branch from 5f2e10b to fe8f412 Compare September 10, 2024 21:46

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sweet! Thanks 🎉

@hecrj hecrj enabled auto-merge September 10, 2024 21:47
@hecrj hecrj added this to the 0.13 milestone Sep 10, 2024
@hecrj hecrj changed the title Add stroke_rectangle Add stroke_rectangle to canvas::Frame Sep 10, 2024
@hecrj hecrj merged commit 2a17afb into iced-rs:master Sep 10, 2024
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.

2 participants