NhlNewColor

The function is used to allocate new workstation color indexes.(See NhlNewColor.)


Synopsis

	function NhlNewColor( 
		workstations [*] : graphic,
		red [*] : float,
		green [*] : float,
		blue [*] : float
	)

Arguments

workstations
One or more HLU Workstation instances.
red
Array of floating point values between 0 and 1 inclusive. Must be dimensioned the same as green and blue.
green
Array of floating point values between 0 and 1 inclusive. Must be dimensioned the same as red and blue.
blue
Array of floating point values between 0 and 1 inclusive. Must be dimensioned the same as green and red.

Description

For each Workstation instance, this function allocates color indexes for every red, green, blue triplet. Since the color indexes allocated can be different for each Workstation instance, the return array of color indexes is dimensioned [m]x[n], where m is the number of Workstation instances, and n is the number of rgb triplets.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.9 $ $Date: 1998/06/15 21:28:48 $