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

Method drawOn

tools/pythonpoint/pythonpoint.py:573–588  ·  view source on GitHub ↗
(self, canv)

Source from the content-addressed store, hash-verified

571 self.showBoundary = 0
572
573 def drawOn(self, canv):
574 #make a frame
575 frame = Frame( self.x,
576 self.y,
577 self.width,
578 self.height
579 )
580 frame.showBoundary = self.showBoundary
581
582 #build a story for the frame
583 story = []
584 for thingy in self.content:
585 #ask it for any flowables
586 story.append(thingy.getFlowable())
587 #draw it
588 frame.addFromList(story,canv)
589
590
591class PPPara:

Callers

nothing calls this directly

Calls 4

addFromListMethod · 0.95
FrameClass · 0.90
appendMethod · 0.80
getFlowableMethod · 0.45

Tested by

no test coverage detected