Examples of X()


Examples of org.gudy.azureus2.ui.swt.views.utils.CoordinateTransform.x()

      {
        boxNum++;
        gc.setForeground(Colors.black);
        gc.setLineStyle(SWT.LINE_DASH);
        gc.drawRectangle(t.x(maxBoxOffsetX),t.y(maxBoxOffsetY*boxNum),maxBoxWidth,charHeight);
        gc.drawString(boxContent[boxNum-1],t.x(maxBoxOffsetX-5),t.y(maxBoxOffsetY*boxNum),true);       
      }
     
      gc.setLineStyle(SWT.LINE_SOLID);
   
    } finally
View Full Code Here

Examples of org.nlogo.api.Vect.x()

    rotationPoint = new Vect
        (rotationPoint.x() - v[1].x() * thetaX * 0.1,
         rotationPoint.y() - v[1].y() * thetaX * 0.1,
         rotationPoint.z() + v[1].z() * thetaX * 0.1);

    oxcor(oxcor() + ortho.x() * thetaY * 0.1);
    oycor(oycor() + ortho.y() * thetaY * 0.1);
    ozcor(ozcor() - ortho.z() * thetaY * 0.1);

    rotationPoint = new Vect
        (rotationPoint.x() + ortho.x() * thetaY * 0.1,
 
View Full Code Here

Examples of org.nutz.aop.asm.test.Aop1.x()

            90L,
            78L);
    String result = (String) a1.mixArgsVoid4("WendalXXX");
    System.out.println("返回值: " + result);
    try {
      a1.x();
    }
    catch (Throwable e) {
      // TODO: handle exception
    }
    a1.returnString();
View Full Code Here

Examples of org.robovm.apple.coregraphics.CGPoint.x()

      UITouch touch = UI_TOUCH_WRAPPER.wrap(touchHandle);
      CGPoint loc = touch.getLocation(touch.getView());
      synchronized(touchEvents) {
        UITouchPhase phase = touch.getPhase();
        TouchEvent event = touchEventPool.obtain();
        event.x = (int)(loc.x() * app.displayScaleFactor);
        event.y = (int)(loc.y() * app.displayScaleFactor);
        event.phase = phase;
        event.timestamp = (long)(touch.getTimestamp() * 1000000000);
        touchEvents.add(event);
       
 
View Full Code Here

Examples of org.robovm.cocoatouch.coregraphics.CGPoint.x()

  private void toTouchEvents(NSSet touches, UIEvent uiEvent) {
    for (UITouch touch : (NSSet<UITouch>) touches) {
      CGPoint loc = touch.getLocation(touch.getView());
      synchronized(touchEvents) {
        TouchEvent event = touchEventPool.obtain();
        event.x = (int)(loc.x() * app.displayScaleFactor);
        event.y = (int)(loc.y() * app.displayScaleFactor);
        event.phase = touch.getPhase();
        event.timestamp = (long)(touch.getTimestamp() * 1000000000);
        touchEvents.add(event);
       
 
View Full Code Here

Examples of org.sgx.yuigwt.yui.graphic.Graphic.x()

  public void ready(final YuiContext Y) {
   
    Graphic g1 = Y.newGraphic(GraphicConfig.create().render(parent));
   
    //move the graphic to parent's position
    g1.x(parent.getX()).y(parent.getY());
   
    Shape rect1 = g1.addShape(ShapeConfig.createRect().
      width(200).height(120).x(100).y(50).
      fill(Fill.create().color("red").opacity(0.7))
    );
View Full Code Here

Examples of org.sgx.yuigwt.yui.util.Point.x()

      "</div>");

//    Window.alert( Y.one("#overlay-position")+" - "+Y.one("#overlay-position").getXY());
    Point xy = Y.one("#overlay-position").getXY();
    overlay = Y.newOverlay((OverlayConfig) OverlayConfig.create().
      xy(xy.x()+30, xy.y()+40).
      height("13em").
      width("200px").
      srcNode("#overlay").
      plugins(new PluginBase[]{Y.Plugin().Drag()})
    );
View Full Code Here

Examples of org.thechiselgroup.choosel.protovis.client.PVBulletLayout.x()

        bullet.range().add(PV.Bar).fillStyle("#CFCFCF");
        bullet.measure().add(PV.Bar).fillStyle("#666666");

        bullet.marker().add(PV.Dot).shape(PVShape.TRIANGLE).fillStyle("white");
        bullet.tick().add(PV.Rule).anchor(BOTTOM).add(PV.Label)
                .text(bullet.x().tickFormat());

        bullet.anchor(LEFT).add(PV.Label).font("bold 12px sans-serif")
                .textAlign(RIGHT).textBaseline(BOTTOM)
                .text(new JsStringFunction() {
                    public String f(JsArgs args) {
View Full Code Here

Examples of pythagoras.f.IPoint.x()

    /** Updates the position of the content to match the flicker. If force is set, then the
     * relevant values will be updated even if there was no change. */
    protected void update (boolean force) {
        IPoint pos = _flicker.position();
        boolean dx = hrange.set(pos.x()), dy = vrange.set(pos.y());
        if (dx || dy || force) {
            _clippable.setPosition(-pos.x(), -pos.y());

            // now check the child elements for visibility
            if (!force) updateVisibility();
View Full Code Here

Examples of pythagoras.f.IRectangle.x()

        @Override public void render (Canvas canvas, TextLayout text, int textColor,
            boolean underlined, float x, float y) {
            canvas.save();
            if (underlined) {
                IRectangle bounds = text.bounds();
                float sx = x + bounds.x() + 1, sy = y + bounds.y() + bounds.height() + 2;
                canvas.setFillColor(outlineColor).fillRect(sx-1, sy-1, bounds.width()+3, 3);
                canvas.setFillColor(textColor).fillRect(sx, sy, bounds.width(), 1);
            }
            canvas.setFillColor(outlineColor);
            canvas.fillText(text, x+0, y+0);
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.