Skip to content

Applied new intersects() API#49

Merged
hermet merged 1 commit into
mainfrom
hermet/intersects
Jul 9, 2026
Merged

Applied new intersects() API#49
hermet merged 1 commit into
mainfrom
hermet/intersects

Conversation

@hermet

@hermet hermet commented Jul 7, 2026

Copy link
Copy Markdown
Member

No description provided.

@hermet hermet requested a review from Copilot July 7, 2026 12:06
@hermet hermet self-assigned this Jul 7, 2026
@hermet hermet added the enhancement Improve examples label Jul 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the example applications to compile and run against ThorVG’s updated intersects() API by supplying the new boolean parameter at each call site.

Changes:

  • Updated Paint::intersects() usage in the Lottie tweening click hit-test path to pass the new flag.
  • Updated intersects() hover/highlight logic in the intersects demo to pass the new flag consistently across paint types.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/LottieTweening.cpp Updates emoji-layer hit testing to use the new intersects() signature.
src/Intersects.cpp Updates demo hit-testing checks to use the new intersects() signature.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Intersects.cpp
Comment thread src/LottieTweening.cpp
@hermet hermet merged commit 3e313b8 into main Jul 9, 2026
3 of 4 checks passed
@hermet hermet deleted the hermet/intersects branch July 9, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants