|
enum | base_scale_e { base_shift = 16,
base_scale = 1 << base_shift,
base_mask = base_scale - 1,
base_MSB = 1 << (base_shift - 1)
} |
|
typedef int16u | value_type |
|
typedef int32u | calc_type |
|
typedef int64 | long_type |
|
typedef rgba16 | self_type |
|
|
| rgba16 (unsigned r_, unsigned g_, unsigned b_, unsigned a_=base_mask) |
|
| rgba16 (const self_type &c, unsigned a_) |
|
| rgba16 (const rgba &c) |
|
| rgba16 (const rgba8 &c) |
|
| rgba16 (const srgba8 &c) |
|
| operator rgba () const |
|
| operator rgba8 () const |
|
| operator srgba8 () const |
|
AGG_INLINE bool | is_transparent () const |
|
AGG_INLINE bool | is_opaque () const |
|
self_type & | clear () |
|
self_type & | transparent () |
|
AGG_INLINE self_type & | opacity (double a_) |
|
double | opacity () const |
|
AGG_INLINE self_type & | premultiply () |
|
AGG_INLINE self_type & | premultiply (unsigned a_) |
|
AGG_INLINE self_type & | demultiply () |
|
AGG_INLINE self_type | gradient (const self_type &c, double k) const |
|
AGG_INLINE void | add (const self_type &c, unsigned cover) |
|
template<class GammaLUT > |
AGG_INLINE void | apply_gamma_dir (const GammaLUT &gamma) |
|
template<class GammaLUT > |
AGG_INLINE void | apply_gamma_inv (const GammaLUT &gamma) |
|
|
static AGG_INLINE double | to_double (value_type a) |
|
static AGG_INLINE value_type | from_double (double a) |
|
static AGG_INLINE value_type | empty_value () |
|
static AGG_INLINE value_type | full_value () |
|
static AGG_INLINE value_type | invert (value_type x) |
|
static AGG_INLINE value_type | multiply (value_type a, value_type b) |
|
static AGG_INLINE value_type | demultiply (value_type a, value_type b) |
|
template<typename T > |
static AGG_INLINE T | downscale (T a) |
|
template<typename T > |
static AGG_INLINE T | downshift (T a, unsigned n) |
|
static AGG_INLINE value_type | mult_cover (value_type a, cover_type b) |
|
static AGG_INLINE cover_type | scale_cover (cover_type a, value_type b) |
|
static AGG_INLINE value_type | prelerp (value_type p, value_type q, value_type a) |
|
static AGG_INLINE value_type | lerp (value_type p, value_type q, value_type a) |
|
static self_type | no_color () |
|
static self_type | from_wavelength (double wl, double gamma=1.0) |
|
|
value_type | r |
|
value_type | g |
|
value_type | b |
|
value_type | a |
|
Definition at line 662 of file agg_color_rgba.h.
The documentation for this struct was generated from the following file: