pe_map_dc_to_wsc(3g) — Subroutines
Name
pe_map_dc_to_wsc − Converts device coordinate points to window system coordinate values.
Operating States: PHOP, WSOP, ∗, ∗
Digital PHIGS extension function
Syntax
void pe_map_dc_to_wsc (
Pint wsid, /∗ (I) Workstation identifier ∗/
Ppoint_list3 ∗point_list_dc, /∗ (I) List of points, in device
coordinate points ∗/
Pint ∗error_ind, /∗ (O) Error indicator ∗/
Ppoint_list3 ∗point_list_wsc /∗ (O) List of points, in window system
coordinates (WSC) ∗/
)
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_dc_to_wsc converts the specified list of device coordinate points to window system coordinate values and returns them in window system points. The transformation takes into account scaling of the units and any difference in the origins of the axes. You may need to use a type conversion from floating-point to integer 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_wsc_to_dc