Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ writepixels(3) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

writepixels(3)  —  Silicon Graphics R1c

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. 

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026