pe_map_wsc_to_dc(3g) — Subroutines
Name
pe_map_wsc_to_dc − Converts window system points to device coordinate values.
Operating States: PHOP, WSOP, ∗, ∗
Digital PHIGS extension function
Syntax
void pe_map_wsc_to_dc (
Pint wsid, /∗ (I) Workstation identifier ∗/
Ppoint_list3 ∗point_list_wsc, /∗ (I) List of points, in window system
coordinates (WSC) ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Ppoint_list3 ∗point_list_dc /∗ (O) List of points, in device
coordinates ∗/
)
Data Structures
typedef struct {
Pint num_points; /∗ number of Ppoint3s in the list ∗/
Ppoint3 ∗points; /∗ list of points ∗/
} Ppoint_list3;
typedef struct {
Pfloat x; /∗ x coordinate ∗/
Pfloat y; /∗ y coordinate ∗/
Pfloat z; /∗ z coordinate ∗/
} Ppoint3;
Description
pe_map_wsc_to_dc converts the specified list of window system points to device coordinate values and returns them in device coordinate points. The transformation takes scaling of the units and any difference in the origins of the axes into account. You may need to use a type conversion from integer to floating-point before you pass the window system points to window system functions.
Digital PHIGS Version 4.1 does not support this function.
See Also
pe_map_dc_to_wc
pe_map_dc_to_wsc