vtdata library
|
Public Member Functions | |
RGBAi (short _r, short _g, short _b, short _a=255) | |
RGBAi (const class RGBi &v) | |
RGBAi (const class RGBAf &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 | operator+= (const RGBAi &v) |
void | MultRGB (float s) |
void | Crop () |
RGBAi & | operator= (const RGBAi &v) |
RGBAi & | operator= (const RGBi &v) |
RGBAi & | operator= (const RGBf &v) |
RGBAi & | operator= (const RGBAf &v) |
bool | operator== (const RGBAi &v) const |
bool | operator!= (const RGBAi &v) const |
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)