Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ writepixels(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

writepixels()  —  Silicon Graphics Beta Release

NAME

writepixels - paints a row of pixels on the screen

SPECIFICATION

C
writepixels(n, colors)
short n;
Colorindex colors[n];

FORTRAN
subroutine writep(n, colors)
integer*4 n
integer*2 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 updated pixel position is greater than XMAXSCREEN.  Pixels are painted from left to right, and are clipped to the current screenmask.  writepixels does not automatically wrap from one line to the next.  It can be used in single and double buffer display modes.  Use writeRGB in RGB mode. 

SEE ALSO

scrmask, color, readpixels, writeRGB

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

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