You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a large SVG (say, 512x512) and a small JAMSVGImageView (say, 32x32), although the image will render correctly, hit tests with [JAMSVGImageView pointInside: withEvent:] will incorrectly fail due to [JAMSVGImage containsPoint:] testing against the original path dimensions rather than the actually rendered ones.
The text was updated successfully, but these errors were encountered:
JAMSVGImageView should transform the point from its coordinate system (including bounds and contentMode) before handing the transformed point to JAMSVGImage.
JAMSVGImage needs to apply its entire viewBox transformation to that point before handing it down to JAMSVGStyledBezierPath.
If you have a large SVG (say, 512x512) and a small
JAMSVGImageView
(say, 32x32), although the image will render correctly, hit tests with[JAMSVGImageView pointInside: withEvent:]
will incorrectly fail due to[JAMSVGImage containsPoint:]
testing against the original path dimensions rather than the actually rendered ones.The text was updated successfully, but these errors were encountered: