MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / writePath

Method writePath

site-packages/matplotlib/backends/backend_pdf.py:1488–1497  ·  view source on GitHub ↗
(self, path, transform, clip=False, sketch=None)

Source from the content-addressed store, hash-verified

1486 True))]
1487
1488 def writePath(self, path, transform, clip=False, sketch=None):
1489 if clip:
1490 clip = (0.0, 0.0, self.width * 72, self.height * 72)
1491 simplify = path.should_simplify
1492 else:
1493 clip = None
1494 simplify = False
1495 cmds = self.pathOperations(path, transform, clip, simplify=simplify,
1496 sketch=sketch)
1497 self.output(*cmds)
1498
1499 def reserveObject(self, name=''):
1500 """Reserve an ID for an indirect object.

Callers 1

draw_pathMethod · 0.80

Calls 2

pathOperationsMethod · 0.95
outputMethod · 0.95

Tested by

no test coverage detected