Skip to content

Fix Vello rendering bug with stroke alignment cropped by parent transformations#3329

Merged
Keavon merged 1 commit intoGraphiteEditor:masterfrom
ashishmohapatra240:fix/vello-stroke-alignment-cropping
Nov 11, 2025
Merged

Fix Vello rendering bug with stroke alignment cropped by parent transformations#3329
Keavon merged 1 commit intoGraphiteEditor:masterfrom
ashishmohapatra240:fix/vello-stroke-alignment-cropping

Conversation

@ashishmohapatra240
Copy link
Copy Markdown
Contributor

@ashishmohapatra240 ashishmohapatra240 commented Nov 2, 2025

Closes #3179

When alignment_parent_transform is set, calculate element_transform as the inverse composition: multiplied_transform * alignment_transform.inverse(). This ensures the mask is correctly positioned in the same coordinate space as the stroke.

Graphite2.mp4

@ashishmohapatra240
Copy link
Copy Markdown
Contributor Author

please review @Keavon

@Keavon Keavon force-pushed the fix/vello-stroke-alignment-cropping branch from f7ef31a to b11ad25 Compare November 10, 2025 22:16
@Keavon Keavon changed the title Fix stroke alignment cropping with parent transformations Fix Vello rendering bug with stroke alignment cropped by parent transformations Nov 10, 2025
@Keavon
Copy link
Copy Markdown
Member

Keavon commented Nov 10, 2025

!build

@github-actions
Copy link
Copy Markdown

📦 Build Complete for b11ad25
https://9aba0c43.graphite.pages.dev

@Keavon
Copy link
Copy Markdown
Member

Keavon commented Nov 11, 2025

@ashishmohapatra240 can you please comment in the original issue that you're submitting this fix, so GitHub allows me to assign it to you?

@Keavon
Copy link
Copy Markdown
Member

Keavon commented Nov 11, 2025

Thank you!

@Keavon Keavon merged commit 0298f9a into GraphiteEditor:master Nov 11, 2025
4 checks passed
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.

Renderer bug with Vello and stroke alignment gets cropped by a parent transformation

2 participants