Package cl.alejo.jcsim.csim.circuit

Examples of cl.alejo.jcsim.csim.circuit.Point


  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);
  }
View Full Code Here

TOP

Related Classes of cl.alejo.jcsim.csim.circuit.Point

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.