.\" @(#)PEXCellArray2D.3 1.4 95/03/24 SMI; .so man3/pex.macs .TH PEXCellArray2D 3 "May 1995" "Solaris PEXlib Reference Manual" "" .SH NAME PEXCellArray2D \- 2D Cell Array Primitive .SH SYNTAX .HP void PEXCellArray2D\^(\^Display *\fIdisplay\fP\^, XID \fIresource_id\fP\^, PEXOCRequestType \fIreq_type\fP\^, PEXCoord2D *\fIpoint1\fP\^, PEXCoord2D *\fIpoint2\fP\^, unsigned int \fIcol_count\fP\^, unsigned int \fIrow_count\fP\^, PEXTableIndex *\fIcolor_indices\fP\^) .SH PARAMETERS .TP 1i \fIdisplay\fP A pointer to a display structure returned by a successful .B XOpenDisplay call. .TP \fIresource_id\fP The resource identifier of the renderer or structure. .TP \fIreq_type\fP The request type for the output command ( .B PEXOCRender, .B PEXOCStore, .B PEXOCRenderSingle or .B PEXOCStoreSingle ). .TP \fIpoint1\fP The first cell array definition point. .TP \fIpoint2\fP The second cell array definition point. .TP \fIcol_count\fP The number of cell columns (number of cells in the \s-1X\s0 direction). .TP \fIrow_count\fP The number of cell rows (number of cells in the \s-1Y\s0 direction). .TP \fIcolor_indices\fP An array of color table index values which specify the color of each cell. .SH RETURNS None .SH DESCRIPTION .\" indexing .IX PEXCellArray2D .IX "Cell Array" PEXCellArray2D .LP This function creates a 2D cell-array output primitive. .LP A 2D cell-array is a rectangle of equally-sized cells, each of which is a rectangle which has a single color. The primitive is specified by two points which define a rectangle aligned with the modeling coordinate axes. The width and height of each cell is defined as in .BR PEXCellArray (3) where the z component is zero. .LP All other aspects of this primitive are the same as .BR PEXCellArray (3) . .SH DATA STRUCTURES .LP .nf typedef unsigned short PEXTableIndex; .fi .sp .5 See also .B PEXlib.h. .SH ERRORS .TP .SB BadPEXOutputCommand The output command contains an invalid value. .TP .SB BadPEXRenderer The specified renderer resource identifier is invalid. .TP .SB BadPEXStructure The specified structure resource identifier is invalid.