Skip to content

[V3] Preserve gaps in dashed ellipse strokes - #432

Merged
JimBobSquarePants merged 2 commits into
release/3.1.xfrom
js/v3-issue-430-dashed-ellipse
Nov 24, 2026
Merged

JimBobSquarePants merged 2 commits into
release/3.1.xfrom
js/v3-issue-430-dashed-ellipse

Conversation

@JimBobSquarePants

Copy link
Copy Markdown
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following matches the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

Fixes #430 on the 3.1 release branch.

Open dash segments keep their ends open when the endpoints are close. This preserves the gaps in the reported ellipse on CPU and WebGPU. Drawing uses PolygonClipper 1.0.3 for stroke outlines.

Both backends apply the configured coverage boost to antialiased text strokes. The tests compare CPU and WebGPU output for the reported dash pattern and check each backend against its reference image.

The Release test suite passed on .NET 8 and .NET 10. Each run had 2,844 passes and 9 skips.

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80%. Comparing base (a631c96) to head (dc53954).

Additional details and impacted files
@@              Coverage Diff              @@
##           release/3.1.x    #432   +/-   ##
=============================================
- Coverage             80%     80%   -1%     
=============================================
  Files                235     235           
  Lines              29658   29647   -11     
  Branches            3411    3409    -2     
=============================================
- Hits               24005   23993   -12     
- Misses              4697    4698    +1     
  Partials             956     956           
Flag Coverage Δ
unittests 80% <100%> (-1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JimBobSquarePants JimBobSquarePants changed the title Preserve gaps in dashed ellipse strokes [V3] Preserve gaps in dashed ellipse strokes Nov 24, 2026
@JimBobSquarePants JimBobSquarePants added the bug Something isn't working label Nov 24, 2026
@JimBobSquarePants
JimBobSquarePants merged commit c37c70d into release/3.1.x Nov 24, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PatternPen with a four-value pattern and LineJoin.Miter draws an EllipsePolygon almost solid

1 participant