colorA_t Class Reference
#include <color.h>
List of all members.
Public Member Functions |
| | colorA_t () |
| | colorA_t (const color_t &c) |
| | colorA_t (const color_t &c, CFLOAT a) |
| | colorA_t (CFLOAT r, CFLOAT g, CFLOAT b, CFLOAT a=0) |
| | colorA_t (CFLOAT g) |
| | colorA_t (CFLOAT af[4]) |
| | ~colorA_t () |
| void | set (CFLOAT r, CFLOAT g, CFLOAT b, CFLOAT a=0) |
| colorA_t & | operator+= (const colorA_t &c) |
| colorA_t & | operator-= (const colorA_t &c) |
| colorA_t & | operator*= (const colorA_t &c) |
| colorA_t & | operator*= (CFLOAT f) |
| void | alphaPremultiply () |
| CFLOAT | getA () const |
| void | setAlpha (CFLOAT a) |
Public Attributes |
| CFLOAT | A |
Friends |
| colorA_t | operator* (const colorA_t &a, const colorA_t &b) |
| colorA_t | operator* (const CFLOAT f, const colorA_t &b) |
| colorA_t | operator* (const colorA_t &b, const CFLOAT f) |
| colorA_t | operator/ (const colorA_t &b, const CFLOAT f) |
| colorA_t | operator+ (const colorA_t &a, const colorA_t &b) |
| colorA_t | operator- (const colorA_t &a, const colorA_t &b) |
| YAFRAYCORE_EXPORT void | operator>> (unsigned char *data, colorA_t &c) |
| YAFRAYCORE_EXPORT void | operator<< (unsigned char *data, const colorA_t &c) |
| YAFRAYCORE_EXPORT void | operator>> (float *data, colorA_t &c) |
| YAFRAYCORE_EXPORT void | operator<< (float *data, const colorA_t &c) |
| YAFRAYCORE_EXPORT std::ostream & | operator<< (std::ostream &out, const colorA_t c) |
| YAFRAYCORE_EXPORT colorA_t | mix (const colorA_t &a, const colorA_t &b, CFLOAT point) |
Detailed Description
Definition at line 117 of file color.h.
Constructor & Destructor Documentation
| colorA_t::colorA_t |
( |
|
) |
[inline] |
| colorA_t::colorA_t |
( |
const color_t & |
c |
) |
[inline] |
| colorA_t::colorA_t |
( |
const color_t & |
c, |
|
|
CFLOAT |
a | |
|
) |
| | [inline] |
| colorA_t::colorA_t |
( |
CFLOAT |
r, |
|
|
CFLOAT |
g, |
|
|
CFLOAT |
b, |
|
|
CFLOAT |
a = 0 | |
|
) |
| | [inline] |
| colorA_t::colorA_t |
( |
CFLOAT |
g |
) |
[inline] |
| colorA_t::colorA_t |
( |
CFLOAT |
af[4] |
) |
[inline] |
| colorA_t::~colorA_t |
( |
|
) |
[inline] |
Member Function Documentation
| void colorA_t::alphaPremultiply |
( |
|
) |
[inline] |
| CFLOAT colorA_t::getA |
( |
|
) |
const [inline] |
| colorA_t & colorA_t::operator*= |
( |
CFLOAT |
f |
) |
[inline] |
| void colorA_t::set |
( |
CFLOAT |
r, |
|
|
CFLOAT |
g, |
|
|
CFLOAT |
b, |
|
|
CFLOAT |
a = 0 | |
|
) |
| | [inline] |
| void colorA_t::setAlpha |
( |
CFLOAT |
a |
) |
[inline] |
Friends And Related Function Documentation
| YAFRAYCORE_EXPORT std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const colorA_t |
c | |
|
) |
| | [friend] |
| YAFRAYCORE_EXPORT void operator<< |
( |
float * |
data, |
|
|
const colorA_t & |
c | |
|
) |
| | [friend] |
| YAFRAYCORE_EXPORT void operator<< |
( |
unsigned char * |
data, |
|
|
const colorA_t & |
c | |
|
) |
| | [friend] |
| YAFRAYCORE_EXPORT void operator>> |
( |
float * |
data, |
|
|
colorA_t & |
c | |
|
) |
| | [friend] |
| YAFRAYCORE_EXPORT void operator>> |
( |
unsigned char * |
data, |
|
|
colorA_t & |
c | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: