cxParamColorFloatSet - convert floating point color values into a string color parameter
#include <cx/DataAccess.h>

void cxParamColorFloatSet( cxParameter *src, float rgba[4] );
subroutine cxParamColorFloatSet( src, rgba )
integer src
real rgba(4)
cxParamColorFloatSet converts src into a string cxParameter in "color format" containing the floating point color values in color. Src will contain a string with the format
  RGB red green blue alpha
Where the red, green, blue and alpha values are printed with the "%g" format.

The complete color format is described in cxParamColorFloatGet(3E).

cxParamColorFloatGet(3E), cxParamColorPackedGet(3E), cxParamColorPackedSet(3E), cxRGBtoHSV(3E).
Last modified: Mon Nov 6 16:33:33 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999