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

GPQIMC - Inquire Image Mapping Characteristics

GPQIMC (wsid, imid, errind, view, index, origin, size, P, Q, R, method, priority)

Note:

This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"

Purpose

Use GPQIMC to inquire the current image mapping characteristics of the specified mapped image.

A defined image is displayed by mapping its rectangular part into a parallelogram in World Coordinates (WC) The mapped image is identified by an image mapping identifier.

If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the inquired information is unavailable, then the error indicator (errind) contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

imid -- specified by user, fullword integer

Image mapping identifier.

errind -- returned by the graPHIGS API, fullword integer

Error indicator. If the error indicator is zero, the request has been completed. Otherwise, one of the following errors exists:
25
SPECIFIED WORKSTATION DOES NOT EXIST
35
WORKSTATION HAS ONLY INPUT CAPABILITIES
296
SPECIFIED IMAGE MAPPING DOES NOT EXIST

view -- returned by the graPHIGS API, fullword integer

View index.

index -- returned by the graPHIGS API, fullword integer

Image index.

origin -- returned by the graPHIGS API, two fullword integers

Image rectangle origin.

size -- returned by the graPHIGS API, two fullword integers

Image rectangle size.

P -- returned by the graPHIGS API, three floating-point numbers (WC)

Lower left corner of the image mapping.

Q -- returned by the graPHIGS API, three floating-point numbers (WC)

Lower right corner of the image mapping.

R -- returned by the graPHIGS API, three floating-point numbers (WC)

Upper left corner of the image mapping.

method -- returned by the graPHIGS API, fullword integer

Image mapping method (1=PIXEL_BY_PIXEL )

priority -- returned by the graPHIGS API, short floating-point number

Priority.

Error Codes

None

Related Subroutines

GPCIM2
Create Image Mapping 2
GPCIM3
Create Image Mapping 3
GPFRCT
Fill Rectangle
GPRDFB
Read Frame Buffer
GPQIMF
Inquire Image Mapping Facilities
GPWRCT
Write Rectangle

RCP code

201346562 (X'0C004E02')


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