def ButtonUp(self, p, button, state): Creator.DragStop(self, p) self.compute_trafo(state)
def __init__(self, start): Creator.__init__(self, start)
def ButtonUp(self, p, button, state): p = self.apply_constraint(p, state) Creator.DragStop(self, p)
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): self.path = CreatePath() self.was_dragged = 0 Creator.__init__(self, start)
def __init__(self, start): self.path = CreatePath() Creator.__init__(self, start)