src/reportlab/graphics/renderbase.py
changeset 3385 e45ca0b2053c
parent 3368 afa025c34493
child 3617 ae5744e97c42
equal deleted inserted replaced
3384:4c9c0dcf0995 3385:e45ca0b2053c
   252             else:
   252             else:
   253                 node._canvas = canvas
   253                 node._canvas = canvas
   254                 ocanvas = None
   254                 ocanvas = None
   255 
   255 
   256             self.fillDerivedValues(node)
   256             self.fillDerivedValues(node)
       
   257             dtcb = getattr(node,'_drawTimeCallback',None)
       
   258             if dtcb:
       
   259                 dtcb(node,canvas=canvas,renderer=self)
   257             #draw the object, or recurse
   260             #draw the object, or recurse
   258             if isinstance(node, Line):
   261             if isinstance(node, Line):
   259                 self.drawLine(node)
   262                 self.drawLine(node)
   260             elif isinstance(node, Image):
   263             elif isinstance(node, Image):
   261                 self.drawImage(node)
   264                 self.drawImage(node)