Skip to content
This repository was archived by the owner on Jul 3, 2019. It is now read-only.

Shape quadratic bezier hitTest - #2448

Open
ivanpopelyshev wants to merge 1 commit into
mozilla:masterfrom
ivanpopelyshev:fix-quadcurve
Open

Shape quadratic bezier hitTest#2448
ivanpopelyshev wants to merge 1 commit into
mozilla:masterfrom
ivanpopelyshev:fix-quadcurve

Conversation

@ivanpopelyshev

@ivanpopelyshev ivanpopelyshev commented Jan 16, 2019

Copy link
Copy Markdown

Just in case if someone copies shape hitTest from the project - it leads to artifacts on my swf-s. Here is fixed version.

image

Left-to-right:

  1. Shape
  2. Shumway hitmap
  3. Corner cases (t=0, t=1, t1=t2) fix
  4. if (a!==0) fix, helps with curves that have cpY as an average of fromY and toY

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant