void PEXOCCCellArray( PEXOCC context, PEXCoord *point1, PEXCoord *point2, PEXCoord *point3, unsigned int col_count, unsigned int row_count, PEXTableIndex *color_indices )
void PEXCellArray( Display *display, XID resource_id, PEXOCRequestType req_type, PEXCoord *point1, PEXCoord *point2, PEXCoord *point3, unsigned int col_count, unsigned int row_count, PEXTableIndex *color_indices )
None.
Invoke PEXOCCCellArray to create a three-dimensional cell-array primitive output command (PEXOCCellArray).
A 3D cell-array primitive is a parallelogram of equally- sized cells, each of which is a parallelogram with a single color. Each cell has a width defined by:
and a height defined by:
Cell colors are specified in a one-dimensional array where the colors are stored in row-major order. The first color in the array is the color at the cell at the corner of point1, and subsequent colors represent the colors of cells proceeding to point2.
PEXlib does not support a value of zero for the column count and row count (col_count and row_count arguments respectively).
If your application does not define a color index, then the color index defaults to a value of one. If the implementation does not define color index one, then the result is implementation-dependent.
For primitives similar to this one, see:
For PEXlib 5.1 compatibility primitives similar to this one see:
For attributes that affect this primitive, see Surfaces - General Attributes.
For an overview, see Output Command Functions.