Skip to content

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

Merged
Keavon merged 18 commits into
GraphiteEditor:masterfrom
EllenGYY:outline-add-vello-support
Apr 7, 2025
Merged

Keavon merged 18 commits into
GraphiteEditor:masterfrom
EllenGYY:outline-add-vello-support

Conversation

@EllenGYY

@EllenGYY EllenGYY commented Mar 18, 2025

Copy link
Copy Markdown
Contributor

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
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.

Outline mode stroke width inconsistent related to parent layer scale value Outline render mode support in Vello

2 participants