1#!F-adobe-helvetica-medium-r-normal--18* 2#!N 3#!N #!Rdxrcol DXRGB #!N #!N Function #!N 4#!N Constructs an RGB color structure with the given components. #!N 5#!N Syntax #!N #!F-adobe-times-bold-r-normal--18* #include <dx/dx.h> RGBColor DXRGB(double r, double g, 6double b) #!EF #!N #!N Functional Details #!N #!N Fills in 7all three members of an RGB Color structure with the values 8 #!F-adobe-times-bold-r-normal--18* r #!EF , #!F-adobe-times-bold-r-normal--18* g #!EF , and #!F-adobe-times-bold-r-normal--18* b 9#!EF at one time. RGB Colors are typically scaled between 0.0 10and 1.0. #!N #!N An #!F-adobe-times-bold-r-normal--18* RGBColor #!EF is defined as 11follows: #!N #!F-adobe-times-bold-r-normal--18* typedef struct rgbcolor { float r, g, b; 12} RGBColor; #!EF #!N #!N Return Value #!N #!N Returns the 13RGB color value. #!N #!N See Also #!N #!N #!F-adobe-times-bold-r-normal--18* #!Ldxcntr,dxall1182 h DXColorNameToRGB #!EL 14#!EF #!N #!N #!Lclrs,dxall1109 h Colors #!EL . #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic 15#!EF #!N #!N #!Ldxrib,dxall1361 h DXRibbon #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N 16