Examples of PointF


Examples of cli.System.Drawing.PointF

                        _overlay.get_Bounds().get_Height() - fieldFrame.get_Bottom();
                    // give it a little padding, and make sure we never move the game view down,
                    // also make sure we never move the bottom of the game view past the top of the
                    // keyboard
                    targetOffset = Math.max(Math.min(targetOffset - 10, 0), -size.get_Width());
                    PointF target = new PointF(0, targetOffset);
                    target = _overlay.get_Transform().TransformPoint(target);

                    // update and set the transform on the game view
                    UIView gameView = _overlay.get_Superview();
                    CGAffineTransform trans = gameView.get_Transform();
                    _gameViewTransform = trans.Invert().Invert(); // clone
                    trans.Translate(target.get_X(), target.get_Y());
                    gameView.set_Transform(trans);
                    _gameViewTransformed = true;

                    // touches outside of the keyboard will close the keyboard
                    _overlay.Add(_touchDetector);
View Full Code Here

Examples of cli.System.Drawing.PointF

            // else absorb the hit at this point so that we can hide the keyboard in TouchesBegan
            return true;
        }

        protected boolean hideVirtualKeyboardAt (PointF pointF) {
            PointF overlay = ConvertPointToView(pointF, _overlay);
            Point pythagOverlay = new Point(overlay.get_X(), overlay.get_Y());
            return _platform._kfc == null ||
                    _platform._kfc.unfocusForLocation(pythagOverlay);
        }
View Full Code Here

Examples of org.eclipse.swt.internal.gdip.PointF

    }

    int brush = Gdip.PathGradientBrush_new(path.handle);
    if (brush == 0)
      SWT.error(SWT.ERROR_NO_HANDLES);
    PointF point = new PointF();
    point.X = centerPoint[0];
    point.Y = centerPoint[1];
    Gdip.PathGradientBrush_SetCenterPoint(brush, point);

    int colorRef = centerColor.handle;
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.