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 x the x coordinate to be translated @param y the y coordinate to be translated @return the translated coordinates

@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>

@since 2.1

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

Meta