public Point getSrcPoint(Window window, MouseEvent event) {
int x = cl.alejo.jcsim.csim.circuit.Circuit.gridTrunc(window.getCanvas().getTransformedX(event.getX()));
int y = cl.alejo.jcsim.csim.circuit.Circuit.gridTrunc(window.getCanvas().getTransformedY(event.getY()));
// Devuelvo el nuevo punto
return new Point(x, y);
}