Category Windows and views, Object ProWindow

Function ProWindowCoordinatePixelGet


Description
Returns pixel space coordinate on receiving Window space coordinate.
Synopsis
#include <ProWindows.h>
ProErrorProWindowCoordinatePixelGet(
int window_id
/* (In)
A valid window identifier
*/
Pro3dPnt point
/* (In)
Window space 3d coordinate.
*/
Pro2dPnt pixelSpaceCoord
/* (Out)
Pixel space coordinate
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid, or the font identifier is NULL.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

  1. User Interface: Basic Graphics: Resizing Windows
  2. Core: Coordinate Systems and Transformations: Window Coordinate System