Пример #1
0
 def MouseMove(self, p, state):
     p = self.apply_constraint(p, state)
     SelectAndDrag.MouseMove(self, p, state)
     start, end = self.compute_endpoints()
     text, self.trafo = self.ComputeTrafo(self.start, self.end, start, end)
Пример #2
0
 def MouseMove(self, p, state):
     self.drag_state = state
     if self.selection == self.selCenter:
         p = self.constrain_center(p, state)
     SelectAndDrag.MouseMove(self, p, state)
     self.compute_trafo(state)
Пример #3
0
 def MouseMove(self, p, state):
     p = self.apply_constraint(p, state)
     SelectAndDrag.MouseMove(self, p, state)