writepixels(3G) writepixels(3G)
NAME
writepixels - paints a row of pixels on the screen
SPECIFICATION
C writepixels(n, colors)
short n;
Colorindex colors[];
FORTRAN subroutine writep(n, colors)
integer*4 n
integer*2 colors(n)
DESCRIPTION
writepixels paints a row of pixels on the screen in color
map mode; n specifies the number of pixels to paint and
color is an array of color indices. The starting location
is the current character position. The system updates the
current character position to the pixel that follows the
last painted pixel. The current character position becomes
undefined if the updated pixel position is greater than
XMAXSCREEN.
The system paints pixels from left to right, and clips to
the current screenmask.
writepixels does not automatically wrap from one line to the
next. It can be used in single and double buffer modes.
Use writeRGB in RGB mode.
SEE ALSO
scrmask, color, readpixels, writeRGB
Programming Guide, Section 3.9, Writing and Reading Pixels
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)