Home Notices Documents Classes Download Others Rice
Classes  >  window  >  PointToScreen2(int,int)
window class : PointToScreen2(int,int) method

This method was abolished in Ver 1.0.0.1.

Description

Converts the client coordinates on the window to the screen coordinates. In device pixel.

Syntax

windowInstance.PointToScreen2(int deviceX, int deviceY)

Arguments

ClassNameDescription
intdeviceXx-coordinate of the client coordinates. In device pixel.
intdeviceYy-coordinate of the client coordinates. In device pixel.

Return value

None

Sample code

1:

window w = new window();

2:

int x = 100;

3:

int y = 100;

4:

w.PointToScreen2(x, y);//The individual conversion values are stored in the arguments after the execution.

Notes

The client coordinates on the window which is passed by the arguments will be converted to screen coordinates.

The coordinates in this method are physical pixel (device pixel). Please aware that those are not logical pixel (device independent pixel).

The return value which is converted will be stored in the argument.

This method was abolished in Ver 1.0.0.1.

Links for reference

None.

Copyright © Rice All rights reserved.