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

INQUIRE DEFAULT STROKE DEVICE DATA 3 (PHOP,*,*,*)

Purpose

Use Inquire Default Stroke Device Data 3 to inquire the default values of the specified stroke device for the specified workstation type.

The graPHIGS API returns the default values for the requested stroke device. For more information on defaults, see The graPHIGS Programming Interface: Technical Reference.

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:

2
Function Requires State (PHOP,*,*,*)
52
Workstation Type Not Recognized By Implementation
51
Information Not Available For Generic Workstation Type
61
Specified Workstation Is Not Of Category Input Or Outin
250
Specified Device Not Available On Workstation

Language Bindings

C

pinq_def_stroke_data3 (ws_type, stroke_num, store, err_ind, max_buf_size, pet_list, echo_vol, stroke_data)

Input Parameters

Pint ws_type
Workstation type.

Pint stroke_num
Stroke device number (>=1).

Pstore store
Handle to the Store object. The graPHIGS API uses an object of type Store to facilitate the use of subroutines which return complex data. See Create Store ( CREATE STORE (PHOP,*,*,*)) subroutine for details on how the graPHIGS API uses this parameter on inquiries.

Output Parameters

Pint *err_ind
Error indicator.

Pint *max_buf_size
Available input buffer size in points.

Pint_list **pet_list
List of prompt and echo types. The memory referenced by *pet_list is managed by the parameter store.

Plimit3 *echo_vol
Default echo volume in DC.

Pstroke_data3 **stroke_data
Default stroke data record. The memory referenced by *stroke_data is managed by the parameter store.

FORTRAN

PQDSK3 (wtype, devno, n, mldr, errind, mbuff, ol, pet, evol, ldr, datrec)

Input Parameters

integer wtype
Workstation type.

integer devno
Stroke device number (>=1).

integer n
List element requested (>=0).

integer mldr
Dimension of data record array (>=0).

Output Parameters

integer errind
Error indicator.

integer mbuff
Available stroke buffer size in points.

integer ol
Number of available prompt and echo types.

integer pet
nth element of the list of the available prompt and echo types.

real evol(6)
Default echo volume in DC (XMIN, XMAX, YMIN, YMAX, ZMIN, ZMAX).

integer ldr
Number of array elements used in the data record.

character*80 datrec(mldr)
Data record.

Errors

None

Related Subroutines

  • Initialize Stroke

  • Initialize Stroke 3

  • Inquire Stroke Device State

  • Inquire Stroke Device State 3

  • Inquire Default Stroke Device Data

  • Inquire Workstation Connection And Type


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