[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

INQUIRE INTERIOR REPRESENTATION (PHOP,WSOP,*,*)

Purpose

Use Inquire Interior Representation to inquire the current attribute values in the specified entry in the interior bundle table for the specified workstation. Your application may specify returned values of either type SET or REALIZED. Possible interior styles include: HOLLOW, SOLID, PATTERN, HATCH, and EMPTY.

If the information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the information is unavailable, then the values returned in the output parameters are unpredictable and the graPHIGS API sets the error indicator to one of the following errors:

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
59
Specified Workstation Does Not Have Output Capability
100
Bundle Index Value Is Less Than One
101
Specified Representation Has Not Been Defined

Language Bindings

C

pinq_int_rep (ws_id, index, type, err_ind, int_rep)

Input Parameters

Pint ws_id
Workstation identifier.

Pint index
Interior index (>=1).

Pinq_type type
Type of returned values (0=PINQ_SET, 1=PINQ_REALIZED).

Output Parameters

Pint *err_ind
Error indicator.

Pint_bundle *int_rep
Interior representation. (See Chapter 17. "ISO PHIGS C Type and Macro Definitions" for the type definitions).

FORTRAN

PQIR (wkid, ii, type, errind, ints, istyli, coli)

Input Parameters

integer wkid
Workstation identifier.

integer ii
Interior index (>=1).

integer type
Type of returned values (0=PSET, 1=PREALI).

Output Parameters

integer errind
Error indicator.

integer ints
Interior style (0=PHOLLO, 1=PSOLID, 2=PPATTR, 3=PHATCH, 4=PISEMP).

integer istyli
Interior style index.

integer coli
Interior color index.

Errors

None

Related Subroutines

  • Set Interior Representation


  • [ Previous | Next | Contents | Glossary | Home | Search ]