Examples of dragOffset()


Examples of ca.nengo.ui.lib.world.WorldObject.dragOffset()

    // so that objects will remain stationary relative to cursor
    Iterator<WorldObject> selectionEn = selectionHandler.getSelection().iterator();
    while (selectionEn.hasNext()) {
      WorldObject node = selectionEn.next();
      node.localToParent(node.globalToLocal(delta));
      node.dragOffset(delta.getWidth(), delta.getHeight());
    }
  }

  public void setInverted(boolean isInverted) {
    this.isInverted = isInverted;
View Full Code Here

Examples of ca.nengo.ui.lib.world.piccolo.WorldObjectImpl.dragOffset()

          PDimension gDist = new PDimension();
          gDist.setSize(d);

          node.localToParent(node.globalToLocal(gDist));

          node.dragOffset(gDist.getWidth(), gDist.getHeight());
        }
      }
    }
  }
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.