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

Function JM_TUPLE

src/__init__.py:18544–18545  ·  view source on GitHub ↗
(o: typing.Sequence)

Source from the content-addressed store, hash-verified

18542
18543
18544def JM_TUPLE(o: typing.Sequence) -> tuple:
18545 return tuple(map(lambda x: round(x, 5) if abs(x) >= 1e-4 else 0, o))
18546
18547
18548def JM_TUPLE3(o: typing.Sequence) -> tuple:

Callers 15

calc_matrixMethod · 0.85
draw_lineMethod · 0.85
draw_polylineMethod · 0.85
draw_bezierMethod · 0.85
draw_ovalMethod · 0.85
draw_sectorMethod · 0.85
draw_rectMethod · 0.85
insert_textMethod · 0.85
insert_textboxMethod · 0.85
finishMethod · 0.85
write_textMethod · 0.85
calc_matrixFunction · 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…