#include <ugdk/base/types.h>
|
| union { |
| struct { |
| double r |
| |
| double g |
| |
| double b |
| |
| double a |
| |
| } | |
| |
| struct { |
| double val [4] |
| |
| } | |
| |
| }; | |
| |
| ugdk::Color::Color |
( |
double |
_r, |
|
|
double |
_g, |
|
|
double |
_b, |
|
|
double |
_a = 1.0 |
|
) |
| |
|
inlineexplicit |
| ugdk::Color::Color |
( |
uint32 |
hex_val, |
|
|
double |
_a = 1.0 |
|
) |
| |
|
inlineexplicit |
| void ugdk::Color::Compose |
( |
const Color & |
rhs | ) |
|
|
inline |
| double ugdk::Color::get_a |
( |
| ) |
const |
|
inline |
| double ugdk::Color::get_b |
( |
| ) |
const |
|
inline |
| double ugdk::Color::get_g |
( |
| ) |
const |
|
inline |
| double ugdk::Color::get_r |
( |
| ) |
const |
|
inline |
| Color ugdk::Color::operator* |
( |
const Color & |
rhs | ) |
const |
|
inline |
| Color& ugdk::Color::operator*= |
( |
const Color & |
rhs | ) |
|
|
inline |
| void ugdk::Color::set_a |
( |
double |
a_ | ) |
|
|
inline |
| void ugdk::Color::set_b |
( |
double |
b_ | ) |
|
|
inline |
| void ugdk::Color::set_g |
( |
double |
g_ | ) |
|
|
inline |
| void ugdk::Color::set_r |
( |
double |
r_ | ) |
|
|
inline |
| double ugdk::Color::val[4] |
The documentation for this struct was generated from the following file: