#include <MathTypes.h>
Public Member Functions | |
| RGBAi (short _r, short _g, short _b, short _a=255) | |
| RGBAi (const class RGBi &v) | |
| void | Set (short _r, short _g, short _b, short _a=255) |
| RGBAi | operator+ (const RGBAi &v) const |
| RGBAi | operator- (const RGBAi &v) const |
| RGBAi | operator* (float s) const |
| RGBAi | operator/ (float s) const |
| void | operator*= (float s) |
| void | operator/= (float s) |
| void | MultRGB (float s) |
| void | Crop () |
| RGBAi & | operator= (const RGBi &v) |
Public Attributes | |
| short | r |
| short | g |
| short | b |
| short | a |
An RGBA class for handling color operations with alpha support.
This one handles colors with integer components (0-255)
1.8.4