Logo Search packages:      
Sourcecode: labyrinth version File versions

def src::MMapArea::MMapArea::draw (   self,
  event,
  context 
)

Draw the map and all the associated thoughts

Definition at line 511 of file MMapArea.py.

00511                                      :
            '''Draw the map and all the associated thoughts'''
            context.rectangle (event.area.x, event.area.y,
                                       event.area.width, event.area.height)
            context.clip ()
            context.set_source_rgb (1.0,1.0,1.0)
            context.move_to (0,0)
            context.paint ()
            context.set_source_rgb (0.0,0.0,0.0)
            for l in self.links:
                  l.draw (context)
            if self.unending_link:
                  self.unending_link.draw (context)
            for t in self.thoughts:
                  t.draw (context)

      def undo_create_cb (self, action, mode):


Generated by  Doxygen 1.6.0   Back to index