classColorBuf 04
| ColorBuf ColorBuf::operator+ | ( | const ColorBuf & | other | ) | [inline] |
Returns the result of adding the passed value (right side operand) to the current value (left side operand). Definition at line 119 of file ColorBuf.h. |
|
Adds the parameter value to the current instance channels (color and alpha) values. Values are capped to 255. Definition at line 98 of file ColorBuf.h. |
|
Subtracts the parameter value from the current instance value. Definition at line 129 of file ColorBuf.h. References values. |
|
Sets the color and alpha channels to the new values. Definition at line 57 of file ColorBuf.h. References color. |
|
Retrieve the red channel value. Return value is UBYTE so between 0 and 255. Definition at line 69 of file ColorBuf.h. References values. |
|
Sets the color channel values from the normalized (from 0.0 to 1.0) color parameter. Definition at line 21 of file ColorBuf.inl. References RGBFloat::Blue(), fast_ftol_unsigned(), RGBFloat::Green(), MAXCOLOR, MIN, RGBFloat::Red(), and values. Here is the call graph for this function: |
|
||||||||||||||||||||
Sets the colors and alpha channels values from the parameters. Definition at line 74 of file ColorBuf.h. References values. |
|
Sets the alpha opacity channel value from the parameter. Definition at line 78 of file ColorBuf.h. References values. |
|
Sets the blue color channel value from the parameter. Definition at line 77 of file ColorBuf.h. References values. |
|
Sets the colors and alpha channels values from the parameter. Definition at line 79 of file ColorBuf.h. |