INQUIRE POLYMARKER FACILITIES(3P) — Kubota Pacfic Computer Inc. (29 February 1991)
NAME
INQUIRE POLYMARKER FACILITIES − inquire list of workstation polymarker facilities
SYNOPSIS
C Syntax
void
pinq_marker_facs ( type, length, start, error_ind, facilities, total_length )
Pinttype;workstation type
Pintlength;length of application list
Pintstart;starting position
Pint∗error_ind;OUT error indicator
Pmarker_facs∗facilities;OUT polymarker facilities
Pint∗total_length;OUT length of list in PHIGS
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
INQUIRE POLYMARKER FACILITIES obtains a list of the polymarker facilities available on the specified type of workstation.
C Input Parameters
typeGet the polymarker facilities for this workstation type.
lengthThe number of ints in the facilities→types output parameter for which the application has allocated memory. length is the number of list elements that the system can return in facilities→types.ints. If a value of 0 is used here, no data will be returned in the facilities→types.ints list, but the total number of elements will be returned in total_length.
startStarting position of inquiry. The elements in the list, beginning with the item number specified by start, are copied sequentially into facilities→types.ints until facilities→types.ints is full or all the elements have been copied.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
facilities
A pointer to a structure in which the system returns the portion of the list of polymarker facilities from the workstation description table, starting with start. Pmarker_facs is defined in phigs.h as:
typedef struct {
Pint_listtypes;/∗ list of marker types ∗/
Pintnum_sizes;/∗ number of available marker sizes ∗/
Pfloatnom_size;/∗ nominal marker size ∗/
Pfloatmin_size;/∗ minimum marker size ∗/
Pfloatmax_size;/∗ maximum marker size ∗/
Pintnum_pred_inds;/∗ number of predefined bundles ∗/
} Pmarker_facs;
And Pint_list is defined as:
typedef struct {
Pintnum_ints;/∗ number of integers ∗/
Pint∗ints;/∗ list of integers ∗/
} Pint_list;
Prior to calling this function, the ints field of the Pint_list structure must contain a pointer to an application supplied buffer. This buffer must be at least as large as the length parameter.
total_length
A pointer to an integer in which the system returns the total number of elements in the list. This is the value required for length if all elements in the list are to be returned.
ERRORS
002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)
051Ignoring function, this information is not yet available for this workstation type; open a workstation of this type and use the specific workstation type
052Ignoring function, workstation type not recognized by the implementation
059Ignoring function, the specified workstation does not have output capability (that is, the workstation category is neither OUTPUT, OUTIN, nor MO)
062Ignoring function, this information is not available for this MO workstation type
SEE ALSO
PHIGS WORKSTATION DESCRIPTION TABLE (7P)
September 02, 1992