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

Function util_transform_rect

src/__init__.py:24067–24070  ·  view source on GitHub ↗
( rect, matrix)

Source from the content-addressed store, hash-verified

24065
24066
24067def util_transform_rect( rect, matrix):
24068 if g_use_extra:
24069 return extra.util_transform_rect( rect, matrix)
24070 return JM_py_from_rect(mupdf.fz_transform_rect(JM_rect_from_py(rect), JM_matrix_from_py(matrix)))
24071
24072
24073def util_intersect_rect( r1, r2):

Callers 1

transformMethod · 0.85

Calls 3

JM_py_from_rectFunction · 0.85
JM_rect_from_pyFunction · 0.85
JM_matrix_from_pyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…