writepixels() — Silicon Graphics
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)
Pascal
procedure writepixels(n: longint; var colors: Colorindex);
DESCRIPTION
writepixels paints a row of pixels on the screen; it specifies the number of pixels to paint and a color for each pixel. The starting location is the current character position. The IRIS 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 IRIS Graphics Programming, Section 3.9, Writing and Reading
NOTE
This routine is available only in immediate mode.
Version 2.5r1 — October 29, 1986