-
Philip Rogers authored
The following intersection functions are edge-inclusive: FloatQuad::IntersectsRect FloatQuad::IntersectsCircle FloatQuad::IntersectsEllipse FloatRoundedRect::IntersectsQuad This is different from FloatRect::Intersects and LayoutRect::Intersects which are edge-exclusive. This patch adds a comment above each of these functions specifying that they are edge-inclusive, and adds tests. Bug: 818772 Change-Id: I7c1212a08e5e8874fb9679c5a676f91a97d3fce7 Reviewed-on: https://chromium-review.googlesource.com/960841Reviewed-by:
Stefan Zager <szager@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#542961}
0954e067