Package com.cburch.logisim.data

Examples of com.cburch.logisim.data.Location.rotate()


      Location loc = port.getLocation();
      if (anchor != null) {
        loc = loc.translate(-anchor.getX(), -anchor.getY());
      }
      if (facing != defaultFacing) {
        loc = loc.rotate(defaultFacing, facing, 0, 0);
      }
      ret.put(loc, port.getPin());
    }
    return ret;
  }
View Full Code Here


            Location loc = port.getLocation();
            if (anchor != null) {
                loc = loc.translate(-anchor.getX(), -anchor.getY());
            }
            if (facing != defaultFacing) {
                loc = loc.rotate(defaultFacing, facing, 0, 0);
            }
            ret.put(loc, port.getPin());
        }
        return ret;
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.