Control.toDisplay

Returns a point which is the result of converting the argument, which is specified in coordinates relative to the receiver, to display relative coordinates. <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 toDisplay(int x, int y)
  2. Point toDisplay(Point point)
    class Control
    toDisplay

Meta