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

Add Vello support for Outline view mode rendering; add non_scaling to strokes (SVG, not yet Vello) #2455

Merged
merged 18 commits into from
Apr 7, 2025

Conversation

EllenGYY
Copy link
Contributor

@EllenGYY EllenGYY commented Mar 18, 2025

Add outline mode rendering for vello. It respects the opacity but ignore blend mode, which is the same behavior as the cpu rendering.

Closes #2007


Uses vector-effect="non-scaling-stroke" for outline rendering to ensure the stroke is unaffected by the parent’s transform. The normal rendering behavior remains unchanged.

Closes #2435

@Keavon Keavon force-pushed the master branch 4 times, most recently from aa7ff13 to e11b57a Compare April 6, 2025 11:41
@Keavon Keavon force-pushed the outline-add-vello-support branch from 6a92b95 to 9732c02 Compare April 6, 2025 23:51
@Keavon Keavon changed the title Vello support: Outline mode rendering Add Vello support for Outline view mode rendering; add non_scaling to strokes (SVG, not yet Vello) Apr 6, 2025
@Keavon Keavon enabled auto-merge (squash) April 6, 2025 23:53
@Keavon Keavon merged commit 32aee1e into GraphiteEditor:master Apr 7, 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
2 participants