INQUIRE POLYMARKER FACILITIES(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE POLYMARKER FACILITIES − inquire list of workstation polymarker facilities
SYNOPSIS
C Syntax
void
pinqmarkerfacil ( type, length, start, error_ind, total_length, facilities )
Pwstypetype;workstation type
Pintlength;length of application list
Pintstart;starting position
Pint∗error_ind;OUT error indicator
Pint∗total_length;OUT length of list in PHIGS
Pmkfac∗facilities;OUT polymarker facilities
FORTRAN Syntax
SUBROUTINE pqpmf ( WTYPE, N, ERRIND, NMT, MT, NMS, NOMMS, RMSMIN, RMSMAX, NPPMI )
INTEGERWTYPEworkstation type
INTEGERNlist element requested
INTEGERERRINDOUT error indicator
INTEGERNMTOUT number of available marker types
INTEGERMTOUT Nth element of list of available marker types
INTEGERNMSOUT number of available marker sizes
REALNOMMSOUT nominal marker size (DC)
REALRMSMIN, RMSMAX OUT range of marker sizes (DC)
INTEGERNPPMIOUT number of predefined polymarker indices
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 elements for which memory is allocated in the output parameter list of integers. Zero may be specified, in order to get the total length of the list.
startStarting position in the list at which to begin the inquiry.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
total_length
A pointer to an integer in which to return the total length of the list. This is the value required for length if all the items in the list are to be returned.
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. Pmkfac is defined in phigs.h as:
typedef struct {
Pintlsttypes;/∗ list of marker types ∗/
Pintsizes;/∗ number of available marker sizes ∗/
Pfloatnom;/∗ nominal marker size ∗/
Pfloatmin;/∗ minimum marker size ∗/
Pfloatmax;/∗ maximum marker size ∗/
Pintpredefined;/∗ number of predefined bundles ∗/
} Pmkfac;
And Pintlst is defined as:
typedef struct {
Pintnumber;/∗ number of integers ∗/
Pint∗integers;/∗ list of integers ∗/
} Pintlst;
Prior to calling this function, the integers field of the Pintlst structure must contain a pointer to an application supplied buffer. This buffer must be at least as large as the corresponding length parameter.
FORTRAN Input Parameters
WTYPE
Get the polymarker facilities for this workstation type.
NGet the Nth element from the list of polymarker facilities.
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
NMTThe number of available marker types.
MTThe Nth marker type from the list of available marker types.
NMSThe number of available marker size.
MSThe Nth marker size from the list of available marker sizes.
NOMMS
The nominal marker size, in Device Coordinates (DC).
RMSMIN
The minimum marker size, in DC.
RMSMAX
The maximum marker size, in DC.
NPPMI
The number of predefined polymarker indices.
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 (i.e., 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)
Sun Release 4.0 — Last change: 24 July 1989