•  Back 
  •  Libraries 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure C Library Documentation
Author      : John Kormylo
Version     : LIB.HYP 1.0
Subject     : Documentation/Pure C Library
Nodes       : 1309
Index Size  : 32068
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ v_cellarray ]

#include <vdi.h>

void v_cellarray( int handle, int *pxyarray, int row_length,
                  int el_used, int num_rows, int wrt_mode,
                  int *colarray );

  <handle> is the VDI Handle.
  <count> is the number of x,y pairs.
  <pxyarray> is a four entry int array defining a rectangle (see
             VDI Coordinates):
             [0] = left x coordinate.
             [1] = lower y coordinate.
             [2] = right x coordinate.
             [3] = upper y coordinate.
  <row_length> is the number of cells per row (horizontal).
  <el_used> is the number of entries per row in <colarray>.
  <num_rows> is the number of rows (vertical).
  <wrt_mode> is the writing mode (see vswr_mode).
  <colarray> is an array[num_row][el_used] containing color
             indexes for each cell.


Function creates a rectangular "checkerboard" pattern where each cell
has its color individually specified.

Note: This function is not required and may not be available on all
      devices (see VDI Description).
      It is NOT supported by the screen.

VDI Opcode 10

See also VDI Output and vq_cellarray().