NAME
cxParamColorFloatSet
- convert floating point color values into a string color parameter
C SPECIFICATION
#include <cx/DataAccess.h>
void cxParamColorFloatSet( cxParameter *src, float rgba[4] );
FORTRAN SPECIFICATION
subroutine cxParamColorFloatSet( src, rgba )
integer src
real rgba(4)
DESCRIPTION
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).
SEE ALSO
cxParamColorFloatGet(3E),
cxParamColorPackedGet(3E),
cxParamColorPackedSet(3E),
cxRGBtoHSV(3E).
Last modified: May 27 12:25 1999
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1999