Status PEXMapWCToDC( Display *display, PEXWorkstation workstation, unsigned long wc_count, PEXCoord *wc_points, unsigned int view_index, unsigned long *dc_count_return, PEXDeviceCoord **dc_points_return )
Zero if unsuccessful; non-zero otherwise.
Invoke PEXMapWCToDC to map the world coordinate points to device coordinate points using the specified workstation and view index.
This function transforms the points to device coordinates by passing them through the view transform associated with the view index. Points that are clipped (outside the viewport) are not returned, so the number of points returned may be less than the number sent.
PEXlib allocates memory for the return value. Invoke XFree to deallocate the memory.
For a list of PHIGS Workstation functions and related topics, see PHIGS Workstation.