Skip to content

Continue the dash pattern across stroke segments - #602

Open
SAY-5 wants to merge 1 commit into
treeform:masterfrom
SAY-5:fix-dash-across-segments
Open

SAY-5 wants to merge 1 commit into
treeform:masterfrom
SAY-5:fix-dash-across-segments

Conversation

@SAY-5

@SAY-5 SAY-5 commented Nov 14, 2026

Copy link
Copy Markdown

Fixes #600. strokeShapes restarted the dash pattern at every segment of the flattened path, so on curves, which get split into many short segments, each segment began with a fresh dash and the gaps mostly disappeared around the crests. The dash index and the length left in the current dash or gap now carry over to the next segment of the same subpath, and the new test checks that a gap still shows up on a polyline made of 3px segments.

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>

This branch has not been deployed

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

Dashed stroke becomes solid on curves (bezierCurveTo)

1 participant