Logo Search packages:      
Sourcecode: gnome-mousetrap version File versions  Download package

def mouseTrap::mainGui::CoordsGui::drawCorners (   self,
  area 
)

Draw the corner's points for the given area.

Arguments:
- self: The main object pointer.
- area: The area requesting the corners

Definition at line 452 of file mainGui.py.

00452                                 :
      """
      Draw the corner's points for the given area.

      Arguments:
      - self: The main object pointer.
      - area: The area requesting the corners
      """

        self.drawPoint( area.xInit, area.yInit, 3, "orange")
        
        self.drawPoint( area.xEnd, area.yEnd, 3, "orange" )
            
        self.drawPoint( area.xEnd, area.yInit, 3, "orange" )
            
        self.drawPoint( area.xInit, area.yEnd, 3, "orange" )

    def drawPoint(self, X, Y, size, color = 'green'):


Generated by  Doxygen 1.6.0   Back to index