Examples of ZoomEvent


Examples of com.sparshui.common.messages.events.ZoomEvent

      return events;
    Location location = Location.screenLocation(_offsetCentroid);
    Event event = null;
    switch (_myType) {
    case ActionManagerMT.ZOOM_GESTURE:
      event = new ZoomEvent(_scale, location, time);
      break;
    case ActionManagerMT.ROTATE_GESTURE:
      event = new RotateEvent(_rotation, location, time);
      break;
    case ActionManagerMT.MULTI_POINT_DRAG_GESTURE:
View Full Code Here

Examples of org.mt4j.input.inputProcessors.componentProcessors.zoomProcessor.ZoomEvent

  /* (non-Javadoc)
   * @see com.jMT.input.gestureAction.IGestureAction#processGesture(com.jMT.input.inputAnalyzers.GestureEvent)
   */
  public boolean processGestureEvent(MTGestureEvent g) {
    if (g instanceof ZoomEvent){
      ZoomEvent ze = (ZoomEvent)g;
      ze.getCamera().zoomAmount(ze.getCamZoomAmount());
      ze.getCamera().update();
    }
    return false;
  }
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.