Examples of TuioPoint


Examples of TUIO.TuioPoint

        } else if (tuioCursor1 != null) {
          // One finger: pan

          if (tuioCursor1.getCursorID() == tcur.getCursorID()) {
            TuioPoint oldTuioPoint = tcur.getPath().get(tcur.getPath().size() - 2);
            Location fromLocation = map.mapDisplay.getLocation(oldTuioPoint.getScreenX(p.width),
                oldTuioPoint.getScreenY(p.height));
            Location toLocation = map.mapDisplay.getLocation(tuioCursor1.getScreenX(p.width),
                tuioCursor1.getScreenY(p.height));

            PanMapEvent panMapEvent = new PanMapEvent(this, map.getId(), PanMapEvent.PAN_BY);
            panMapEvent.setFromLocation(fromLocation);
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.