writepixels(3) — Unix Programmer’s Manual
NAME
writepixels - paint a row of pixels on the screen
SYNOPSIS
C
writepixels(n, colors)
short n;
Colorindex colors[];
FORTRAN
subroutine writep(n, colors)
integer∗2 n, colors(n)
Pascal
procedure writepixels(n: Short; var colors: Colorarray);
DESCRIPTION
Writepixels paints a row of pixels on the screen, specifying the number of pixels to paint and a color for each pixel. The current character position provides the starting location; it is updated to point to the pixel following the last one painted. The current character position becomes undefined if the next pixel position is outside the viewport. Pixels are painted from left to right, and are clipped to the current screen mask. Writepixels does not automatically wrap from one line to the next. It can be used in single- and double-buffered display modes.
SEE ALSO
scrmask, color, readpixels, writeRGB
NOTE
This command can only be used in immediate mode.
Silicon Graphics — R1c