JX Application Framework
|
#include <jColor.h>
Public Member Functions | |
JRGB () | |
JRGB (const JSize r, const JSize g, const JSize b) | |
JRGB (const JHSB &color) | |
void | Set (const JSize r, const JSize g, const JSize b) |
JRGB & | operator*= (const JFloat v) |
JRGB & | operator/= (const JFloat v) |
Public Attributes | |
JSize | red |
JSize | green |
JSize | blue |
|
inline |
JRGB::JRGB | ( | const JHSB & | color | ) |
Based on code from Computer Graphics, Principles and Practice, by James D. Foley, et al., Addison-Wesley.
JSize JRGB::blue |
JSize JRGB::green |
JSize JRGB::red |