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

Function test_rotation1

tests/test_object_manipulation.py:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def test_rotation1():
17 doc = pymupdf.open()
18 page = doc.new_page()
19 page.set_rotation(270)
20 assert doc.xref_get_key(page.xref, "Rotate") == ("int", "270")
21
22
23def test_rotation2():

Callers

nothing calls this directly

Calls 3

new_pageMethod · 0.80
xref_get_keyMethod · 0.80
set_rotationMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…