IVE_RGB


Purpose
Compute a composite color by combining amounts of red, green and blue.
Synopsis
function IVE_RGB(red: integer, green: integer, blue: integer): integer
Arguments
red 
Amount of red (between 0 and 255).
green 
Amount of green (between 0 and 255).
blue 
Amount of blue (between 0 and 255).
Return value
The composite color.
Example
The following mixes red with green and stores the result in a variable:
declarations
  a_color: integer
end-declarations

a_color:=IVE_RGB(255,255,0)
Further information
If the color component values are out of range, mmive will produce a warning and return 0 (black).


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.