Call linesHit in MgPathShape::_hitTest().