| 2046 | } |
| 2047 | |
| 2048 | bool DocumentPrivate::isNormalizedRectangleFullyVisible(const Okular::NormalizedRect &rectOfInterest, int rectPage) |
| 2049 | { |
| 2050 | const auto &visibleRects = m_parent->visiblePageRects(); |
| 2051 | return std::ranges::any_of(visibleRects, [&](VisiblePageRect *const it) { |
| 2052 | return it->pageNumber == rectPage // |
| 2053 | && it->rect.contains(rectOfInterest.left, rectOfInterest.top) // |
| 2054 | && it->rect.contains(rectOfInterest.right, rectOfInterest.bottom); |
| 2055 | }); |
| 2056 | } |
| 2057 | |
| 2058 | struct pdfsyncpoint { |
| 2059 | QString file; |
no test coverage detected