Beispiel #1
0
 def ButtonUp(self, p, button, state):
     Creator.DragStop(self, p)
     self.compute_trafo(state)
Beispiel #2
0
    def __init__(self, start):
	Creator.__init__(self, start)
 def ButtonUp(self, p, button, state):
     p = self.apply_constraint(p, state)
     Creator.DragStop(self, p)
Beispiel #4
0
 def MouseMove(self, p, state):
     # Bypass RectangularCreator
     Creator.MouseMove(self, p, state)
     self.compute_trafo(state)
 def MouseMove(self, p, state):
     p = self.apply_constraint(p, state)
     Creator.MouseMove(self, p, state)
 def ButtonDown(self, p, button, state):
     Creator.DragStart(self, p)
 def __init__(self, start):
     Creator.__init__(self, start)
Beispiel #8
0
	def __init__(self, start):
		self.path = CreatePath()
		self.was_dragged = 0
		Creator.__init__(self, start)
Beispiel #9
0
	def __init__(self, start):
		self.path = CreatePath()
		Creator.__init__(self, start)