MCPcopy Index your code
hub / github.com/pymupdf/PyMuPDF / begin_page

Method begin_page

src/__init__.py:8165–8169  ·  view source on GitHub ↗
( self, mediabox)

Source from the content-addressed store, hash-verified

8163 assert hasattr( self.this, '_out')
8164
8165 def begin_page( self, mediabox):
8166 mediabox2 = JM_rect_from_py(mediabox)
8167 device = mupdf.fz_begin_page( self.this, mediabox2)
8168 device_wrapper = DeviceWrapper( device)
8169 return device_wrapper
8170
8171 def close( self):
8172 mupdf.fz_close_document_writer( self.this)

Callers 14

test_storyFunction · 0.95
test_3813Function · 0.95
test_707560Function · 0.95
code_printerFunction · 0.95
make_pdfFunction · 0.95
writeMethod · 0.80
code-printer.pyFile · 0.80
json-example.pyFile · 0.80
table01.pyFile · 0.80
simple-grid.pyFile · 0.80

Calls 2

JM_rect_from_pyFunction · 0.85
DeviceWrapperClass · 0.85

Tested by 3

test_storyFunction · 0.76
test_3813Function · 0.76
test_707560Function · 0.76