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,
cxParamColorPackedGet,
cxParamColorPackedSet,
cxRGBtoHSV,
Last modified: Mon Nov 18 13:51:21 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996