[webkit-reviews] review requested: [Bug 84117] SVG hit testing on scaled paths is broken. : [Attachment 138596] First-pass at fixing SkPathContainsPoint to work with sub-pixel accuracy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 10:51:55 PDT 2012


Philip Rogers <pdr at google.com> has asked  for review:
Bug 84117: SVG hit testing on scaled paths is broken.
https://bugs.webkit.org/show_bug.cgi?id=84117

Attachment 138596: First-pass at fixing SkPathContainsPoint to work with
sub-pixel accuracy
https://bugs.webkit.org/attachment.cgi?id=138596&action=review

------- Additional Comments from Philip Rogers <pdr at google.com>
Attached is a first-pass at solving this issue in Skia, comments appreciated!

I earlier stated that hit testing in screen-space would be better but after
discussing this f2f at the contrib meeting, my idea was flawed for several
reasons. My new patch updates Skia to just scale the path up before doing
raster hit testing.


More information about the webkit-reviews mailing list