MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / JM_rects_overlap

Function JM_rects_overlap

src/__init__.py:21325–21333  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

21323
21324
21325def JM_rects_overlap(a, b):
21326 if (0
21327 or a.x0 >= b.x1
21328 or a.y0 >= b.y1
21329 or a.x1 <= b.x0
21330 or a.y1 <= b.y0
21331 ):
21332 return 0
21333 return 1
21334
21335
21336def JM_refresh_links( page):

Callers 7

extractBLOCKSMethod · 0.85
extractWORDSMethod · 0.85
JM_copy_rectangleFunction · 0.85
JM_make_spanlistFunction · 0.85
JM_search_stext_pageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…