Skip to content

Improve path bounds and line hit test#319

Merged
wieslawsoltes merged 4 commits intocodex/add-hit-testing-api-for-drawablesfrom
codex/improve-precision-of-getbounds-and-line-hit-testing
Jul 14, 2025
Merged

Improve path bounds and line hit test#319
wieslawsoltes merged 4 commits intocodex/add-hit-testing-api-for-drawablesfrom
codex/improve-precision-of-getbounds-and-line-hit-testing

Conversation

@wieslawsoltes
Copy link
Copy Markdown
Owner

Summary

  • implement accurate bounding box calculation for path curves and arcs
  • add distance-based line hit test
  • add unit tests for new behaviour

Testing

  • dotnet test tests/ShimSkiaSharp.UnitTests/ShimSkiaSharp.UnitTests.csproj
  • dotnet test tests/Svg.Skia.UnitTests/Svg.Skia.UnitTests.csproj (fails: missing Svg external resources)

https://chatgpt.com/codex/tasks/task_e_6874bfa47da88321ab8eb4085e3d604c

@wieslawsoltes wieslawsoltes merged commit 264b901 into codex/add-hit-testing-api-for-drawables Jul 14, 2025
3 checks passed
@wieslawsoltes wieslawsoltes deleted the codex/improve-precision-of-getbounds-and-line-hit-testing branch July 14, 2025 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant