void pinq_edge_rep(
Pint ws_id, /* workstation identifier */ Pint index, /* edge index */ Pinq_type return_type, /* type of returned value */ Pint *error_ind, /* (out) error indicator */ Pedge_bundle *edge_rep /* (out) edge representation */
)
typedef enum {
PINQ_SET,
PINQ_REALIZED
} Pinq_type ;
typedef struct {
Pedge_flag flag; /* edge flag */
Pint type; /* edge type */
Pfloat width; /* edgewidth scale factor */
Pint colr_ind; /* edge colour index */
} Pedge_bundle;
typedef enum {
PEDGE_OFF,
PEDGE_ON
} Pedge_flag;
If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters.
If the specified edge index is not present in the edge bundle table, and the specified type of returned value is REALIZED, the representation for edge index 1 is returned.
If the inquired information is not available, the values returned in the output parameters are implementation dependent and the error indicator is set to one of the following error numbers to indicate the reason for non-availability:
set edge representation, inquire edge facilities, inquire predefined edge representation.