]> git.lyx.org Git - features.git/commit
Simplify TextMetrics::checkInsetHit
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 2 Feb 2017 15:14:23 +0000 (16:14 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 2 Feb 2017 15:14:23 +0000 (16:14 +0100)
commit0060227f27d9981ed17526ec9d4fedc7ecc6ed38
tree1a3c1dba065734a73e12658635eb7ed320e2a3f5
parent1fca708c7f33f089055d8ca258d8cd6a357cf2a6
Simplify TextMetrics::checkInsetHit

The main point is to use CoordCacheBase::covers to see whether a point
is inside a given isnet.
src/TextMetrics.cpp