![]() The origin in this case is the upper-left corner of the window or client area. The system and applications specify the position of points in a window by using client coordinates. ![]() The full position of a window is often described by a RECT structure containing the screen coordinates of two points that define the upper-left and lower-right corners of the window. For screen coordinates, the origin is the upper-left corner of the screen. ![]() The system and applications specify the position of a window on the screen in screen coordinates. The origin (0,0) for the system depends on the type of coordinates being used. The x-coordinates increase to the right y-coordinates increase from top to bottom. Points on the screen are described by x- and y-coordinate pairs. The basic unit of measure is the device unit (typically, the pixel). The coordinate system for a window is based on the coordinate system of the display device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |