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

Function test_rotation2

tests/test_object_manipulation.py:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def test_rotation2():
24 doc = pymupdf.open()
25 page = doc.new_page()
26 doc.xref_set_key(page.xref, "Rotate", "270")
27 assert page.rotation == 270
28
29
30def test_trailer():

Callers

nothing calls this directly

Calls 2

new_pageMethod · 0.80
xref_set_keyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…