MCPcopy Create free account
hub / github.com/Distrotech/reportlab / draw

Method draw

tools/pythonpoint/pythonpoint.py:306–317  ·  view source on GitHub ↗

Draw the slide in our relative coordinate system.

(self)

Source from the content-addressed store, hash-verified

304
305
306 def draw(self):
307 "Draw the slide in our relative coordinate system."
308
309 slide = self.slide
310 pageSize = self.pageSize
311 canv = self.canv
312
313 canv.saveState()
314 canv.scale(self.width/pageSize[0], self.height/pageSize[1])
315 slide.effectName = None
316 slide.drawOn(self.canv)
317 canv.restoreState()
318
319
320class PPPresentation:

Callers

nothing calls this directly

Calls 4

saveStateMethod · 0.45
scaleMethod · 0.45
drawOnMethod · 0.45
restoreStateMethod · 0.45

Tested by

no test coverage detected