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

Function JM_py_from_quad

src/__init__.py:21219–21228  ·  view source on GitHub ↗

PySequence from fz_quad.

(q)

Source from the content-addressed store, hash-verified

21217
21218
21219def JM_py_from_quad(q):
21220 '''
21221 PySequence from fz_quad.
21222 '''
21223 return (
21224 (q.ul.x, q.ul.y),
21225 (q.ur.x, q.ur.y),
21226 (q.ll.x, q.ll.y),
21227 (q.lr.x, q.lr.y),
21228 )
21229
21230
21231def JM_py_from_rect(r):

Callers 2

JM_image_filterFunction · 0.85
jm_checkquadFunction · 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…