Control.toControl

Returns a point which is the result of converting the argument, which is specified in display relative coordinates, to coordinates relative to the receiver. <p> @param point the point to be translated (must not be null) @return the translated coordinates

@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the point is null</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

  1. Point toControl(int x, int y)
  2. Point toControl(Point point)
    class Control
    toControl

Meta