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

Method draw

src/__init__.py:15947–15950  ·  view source on GitHub ↗
( self, device, matrix=None)

Source from the content-addressed store, hash-verified

15945 return Xml( dom)
15946
15947 def draw( self, device, matrix=None):
15948 ctm2 = JM_matrix_from_py( matrix)
15949 dev = device.this if device else mupdf.FzDevice( None)
15950 mupdf.fz_draw_story( self.this, dev, ctm2)
15951
15952 def element_positions( self, function, args=None):
15953 '''

Callers 14

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

Calls 1

JM_matrix_from_pyFunction · 0.85

Tested by 3

test_storyFunction · 0.76
test_3813Function · 0.76
test_707560Function · 0.76