writergb man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



writeRGB(3G)							  writeRGB(3G)

NAME
     writeRGB - paints a row of pixels on the screen

C SPECIFICATION
     void writeRGB(n, red, green, blue)
     short n;
     RGBvalue red[], green[], blue[];

PARAMETERS
     n	     expects the number of pixels that you want to paint.

     red     expects an array containing red values for the pixels you paint.
	     You need a red value for each pixel you paint.

     green   expects an array containing green values for the pixels you
	     paint.  You need a green value for each pixel you paint.

     blue    expects an array containing blue values for the pixels you paint.
	     You need a blue value for each pixel you paint.

DESCRIPTION
     writeRGB paints a row of pixels on the screen in RGB mode.	 The starting
     location is the current character position.  The system updates the
     current character position to one pixel to the right of the last painted
     pixel.  Pixels are painted from left to right, and are clipped to the
     current screenmask.  writeRGB does not automatically wrap from one line
     to the next.  The current character position becomes undefined if the new
     position is outside the viewport.

     writeRGB supplies a 24-bit RGB value (8 bits for each color) for each
     pixel.  This value is written directly into the bitplanes.

SEE ALSO
     lrectwrite

NOTES
     writeRGB should not be used in new development.  Rather, pixels should be
     written using the high-performance lrectwrite command.

     This routine is available only in immediate mode.

     When there are only 12 color bitplanes available, the lower 4 bits of
     each color are ignored.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net