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

GPCRIB - Create Image Board

GPCRIB (ibid, ncid, depth, h, v, ibtype, ibdesc)

Purpose

Use GPCRIB to create an image board and attach it to your application. An image board is a two-dimensional array of data values that your application can manipulate to create an image that your workstation can display. For information about image support, see The graPHIGS Programming Interface: Understanding Concepts

Parameters

ibid -- specified by user, fullword integer

Image board identifier.

ncid -- specified by user, fullword integer

Nucleus identifier.

depth -- specified by user, fullword integer

Bit depth (1, 2, 4, 8, 12 )

h -- specified by user, fullword integer

Horizontal size (>=1)

v -- specified by user, fullword integer

Vertical size (>=1)

ibtype -- specified by user, fullword integer

Image board type (1=NORMAL )

ibdesc -- specified by user, variable data

Image board descriptor. This parameter includes image board type dependent data. For the image board type set to 1=NORMAL , no descriptive data is required; therefore, this parameter must be set to a value of zero.

Error Codes

202
SPECIFIED NUCLEUS DOES NOT EXIST
217
RESOURCE CREATION REQUEST EXCEEDS NUCLEUS TABLE CAPACITY
231
SPECIFIED IMAGE BOARD IDENTIFIER ALREADY IS IN USE
233
SPECIFIED IMAGE BOARD BIT DEPTH IS NOT SUPPORTED
234
SPECIFIED IMAGE BOARD SIZE IS INVALID
235
SPECIFIED IMAGE BOARD TYPE IS NOT SUPPORTED
1109
FUNCTION NOT SUPPORTED

Related Subroutines

GPCAI
Cancel Image
GPDFI
Define Image
GPDTR
Detach Resource
GPQIBC
Inquire Image Board Characteristics
GPQIBF
Inquire Image Board Facilities
GPQICH
Inquire Image Characteristics
GPQNCR
Inquire Nucleus Resource Identifier

RCP code

201342977 (X'0C004001')


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