RGBAi Class Reference

List of all members.

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 ()
RGBAioperator= (const RGBi &v)

Public Attributes

short r
short g
short b
short a


Detailed Description

An RGBA class for handling color operations with alpha support.

This one handles colors with integer components (0-255)


Generated on Wed Dec 24 13:08:40 2008 for vtdata library by  doxygen 1.5.7.1