Color::GetRGB

Color::GetRGB
inline void GetRGB(UByte * pr, UByte * pg, UByte * pb) const;
Description

GetRGB retrieves the 8-bit red, green, and blue channel value of the current color, by directly accessing the Channels.[Red, Green, Blue] data members.

Parameters
Parameters 
Description 
UByte * pr 
A pointer to the destination value of the red component. 
UByte * pg 
A pointer to the destination value of the green component. 
UByte * pb 
A pointer to the destination value of the blue component. 
See Also