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

GPFRCT - Fill Rectangle

GPFRCT (ibid, origin, size, value)

Purpose

Use GPFRCT to fill a rectangular area in the specified image board with a specific value. The specified fill value's least significant part, corresponding to the image board's bit depth, is used to fill the specified rectangle.

See The graPHIGS Programming Interface: Understanding Concepts for a discussion on image processing.

Parameters

ibid -- specified by user, fullword integer

Image board identifier.

origin -- specified by user, two fullword integers

Rectangle origin (x, y) (>=0)

size -- specified by user, two fullword integers

Rectangle size (SX, SY) (>=1)

value -- specified by user, fullword integer

Fill value.

Error Codes

232
SPECIFIED IMAGE BOARD DOES NOT EXIST
236
RECTANGLE DEFINITION IS INVALID

Related Subroutines

GPCRIB
Create Image Board
GPQIBC
Inquire Image Board Characteristics
GPQIBF
Inquire Image Board Facilities
GPQIMC
Inquire Image Mapping Characteristics
GPQIMF
Inquire Image Mapping Facilities

RCP code

201346310 (X'0C004D06')


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