Scale x/y coordinate of svg path separately for hit-test
We currently scale x/y coordinate of svg path using the same scale factor for hit-test. It has the problem that when x/y values have different magnitudes, e.g. when x has huge value and y has small value, scaling down x and y using the same scale factor will clamp the y values and make it lose the resolution for hit-test. Scaling x/y separately can fix the problem. BUG=379320 Review URL: https://codereview.chromium.org/1300783005 git-svn-id: svn://svn.chromium.org/blink/trunk@201192 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment