Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

INQUIRE PREDEFINED POLYLINE REPRESENTATION PLUS(3P+)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

INQUIRE PREDEFINED POLYLINE REPRESENTATION PLUS − inquire a predefined extended polyline representation from a specified workstation type

SYNOPSIS

C Syntax

void
pinq_pred_line_rep_plus ( type, index, error_ind, bundle )
Pinttype;workstation type
Pintindex;predefined index
Pint∗error_ind;OUT error indicator
Pline_bundle_plus∗bundle; OUT predefined polyline rep

Required PHIGS Operating States

(PHOP, ∗, ∗, ∗)

DESCRIPTION

Purpose

INQUIRE PREDEFINED POLYLINE REPRESENTATION PLUS returns the attribute values of a specified predefined entry in the extended polyline bundle table of a workstation type’s workstation description table.  See SET POLYLINE REPRESENTATION PLUS for a full description of the contents of the bundle table entry and a description of the extended polyline bundle table. 

C Input Parameters

type
The workstation type.

index
Index of the predefined entry to be returned.

C Output Parameters

error_ind
A pointer to the location to store the error number of any error detected by this function.

bundleA pointer to a Pline_bundle_plus structure that returns the requested representation.  Pline_bundle_plus is defined as:

typedef struct {
Pinttype;/∗ line type ∗/
Pfloatwidth;/∗ linewidth scale factor ∗/
Pgcolrcolr;/∗ polyline colour ∗/
Pintshad_meth;/∗ polyline shading method ∗/
Pintapprox_type; /∗ curve approximation criteria ∗/
Pfloatapprox_val;/∗ curve approximation criteria ∗/
} Pline_bundle_plus;

See SET POLYLINE REPRESENTATION PLUS for a full description of the contents of this structure. 

Execution

If the inquired information is available, the error indicator is returned as zero and the requested information is returned in the output parameters. 

If the inquired information is not available, the values returned in the output parameters are undefined and the error indicator is set to one of the below error numbers to indicate the reason for nonavailability. 

Since this is an inquiry function, ERROR HANDLING is not invoked when an error is detected by this function. 

ERRORS

002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)

051Ignoring function, this information unavailable for this 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

100Ignoring function, the bundle index value is less than one

102Ignoring function, the specified representation has not been predefined on this workstation

SEE ALSO

SET POLYLINE REPRESENTATION PLUS (3P+)
INQUIRE POLYLINE REPRESENTATION PLUS (3P+)
INQUIRE PREDEFINED POLYLINE REPRESENTATION (3P)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026