![]() |
Prusa Slicer 2.6.0
|
#include <src/agg/agg_color_rgba.h>
Public Types | |
| enum | base_scale_e { base_shift = 8 , base_scale = 1 << base_shift , base_mask = base_scale - 1 , base_MSB = 1 << (base_shift - 1) } |
| typedef int8u | value_type |
| typedef int32u | calc_type |
| typedef int32 | long_type |
| typedef rgba8T | self_type |
Public Member Functions | |
| rgba8T () | |
| rgba8T (unsigned r_, unsigned g_, unsigned b_, unsigned a_=base_mask) | |
| rgba8T (const rgba &c) | |
| rgba8T (const self_type &c, unsigned a_) | |
| template<class T > | |
| rgba8T (const rgba8T< T > &c) | |
| operator rgba () const | |
| AGG_INLINE bool | is_transparent () const |
| AGG_INLINE bool | is_opaque () const |
| self_type & | clear () |
| self_type & | transparent () |
| 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) |
Public Attributes | |
| value_type | r |
| value_type | g |
| value_type | b |
| value_type | a |
| typedef int32u agg::rgba8T< Colorspace >::calc_type |
| typedef int32 agg::rgba8T< Colorspace >::long_type |
| typedef rgba8T agg::rgba8T< Colorspace >::self_type |
| typedef int8u agg::rgba8T< Colorspace >::value_type |
| enum agg::rgba8T::base_scale_e |
| Enumerator | |
|---|---|
| base_shift | |
| base_scale | |
| base_mask | |
| base_MSB | |
|
inline |
|
inline |
|
inline |
References agg::rgba8T< Colorspace >::convert().
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::base_mask, agg::cover_mask, agg::rgba8T< Colorspace >::g, agg::rgba8T< Colorspace >::mult_cover(), and agg::rgba8T< Colorspace >::r.
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
|
inlinestatic |
References agg::rgba::a, agg::rgba8T< Colorspace >::a, agg::rgba::b, agg::rgba8T< Colorspace >::b, agg::rgba::g, agg::rgba8T< Colorspace >::g, agg::rgba::r, and agg::rgba8T< Colorspace >::r.
|
inlinestatic |
References agg::rgba::a, agg::rgba8T< Colorspace >::a, agg::rgba::b, agg::rgba8T< Colorspace >::b, agg::rgba::g, agg::rgba8T< Colorspace >::g, agg::rgba::r, and agg::rgba8T< Colorspace >::r.
|
inlinestatic |
References agg::rgba::a, agg::rgba8T< Colorspace >::a, agg::rgba::b, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::base_mask, agg::rgba::g, agg::rgba8T< Colorspace >::g, agg::rgba::r, agg::rgba8T< Colorspace >::r, and agg::uround().
Here is the call graph for this function:
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::g, and agg::rgba8T< Colorspace >::r.
Referenced by agg::rgba8T< Colorspace >::rgba8T(), agg::rgba8T< Colorspace >::rgba8T(), and agg::rgba8T< Colorspace >::operator rgba().
Here is the caller graph for this function:
|
inlinestatic |
References agg::rgba::a, agg::rgba8T< Colorspace >::a, agg::rgba::b, agg::rgba8T< Colorspace >::b, agg::rgba::g, agg::rgba8T< Colorspace >::g, agg::rgba::r, and agg::rgba8T< Colorspace >::r.
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::g, and agg::rgba8T< Colorspace >::r.
|
inline |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::base_mask, agg::rgba8T< Colorspace >::g, and agg::rgba8T< Colorspace >::r.
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, and agg::rgba8T< Colorspace >::base_mask.
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, and agg::rgba8T< Colorspace >::base_shift.
|
inlinestatic |
References agg::rgba8T< Colorspace >::a.
|
inlinestatic |
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::base_mask, and agg::uround().
Here is the call graph for this function:
|
inlinestatic |
References agg::rgba::from_wavelength().
Here is the call graph for this function:
|
inlinestatic |
References agg::rgba8T< Colorspace >::base_mask.
|
inline |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::base_mask, agg::rgba8T< Colorspace >::g, agg::rgba8T< Colorspace >::lerp(), agg::rgba8T< Colorspace >::r, and agg::uround().
Here is the call graph for this function:
|
inlinestatic |
References agg::rgba8T< Colorspace >::base_mask.
|
inline |
References agg::rgba8T< Colorspace >::a, and agg::rgba8T< Colorspace >::base_mask.
|
inline |
References agg::rgba8T< Colorspace >::a.
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::base_MSB, and agg::rgba8T< Colorspace >::base_shift.
Referenced by agg::rgba8T< Colorspace >::gradient().
Here is the caller graph for this function:
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, and agg::rgba8T< Colorspace >::multiply().
Referenced by agg::rgba8T< Colorspace >::add().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::base_MSB, and agg::rgba8T< Colorspace >::base_shift.
Referenced by agg::rgba8T< Colorspace >::mult_cover(), agg::rgba8T< Colorspace >::prelerp(), agg::rgba8T< Colorspace >::premultiply(), and agg::rgba8T< Colorspace >::scale_cover().
Here is the caller graph for this function:
|
inlinestatic |
|
inline |
References agg::rgba8T< Colorspace >::a, and agg::rgba8T< Colorspace >::base_mask.
|
inline |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::base_mask, and agg::uround().
Here is the call graph for this function:
|
inline |
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, and agg::rgba8T< Colorspace >::multiply().
Here is the call graph for this function:
|
inline |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::base_mask, agg::rgba8T< Colorspace >::g, agg::rgba8T< Colorspace >::multiply(), and agg::rgba8T< Colorspace >::r.
Here is the call graph for this function:
|
inline |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, agg::rgba8T< Colorspace >::base_mask, agg::rgba8T< Colorspace >::g, and agg::rgba8T< Colorspace >::r.
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, agg::rgba8T< Colorspace >::b, and agg::rgba8T< Colorspace >::multiply().
Here is the call graph for this function:
|
inlinestatic |
References agg::rgba8T< Colorspace >::a, and agg::rgba8T< Colorspace >::base_mask.
|
inline |
References agg::rgba8T< Colorspace >::a.
| value_type agg::rgba8T< Colorspace >::a |
Referenced by agg::rgba8T< Colorspace >::add(), agg::rgba8T< Colorspace >::clear(), agg::gray8T< Colorspace >::convert(), agg::gray8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::demultiply(), agg::rgba8T< Colorspace >::demultiply(), agg::rgba8T< Colorspace >::downscale(), agg::rgba8T< Colorspace >::downshift(), agg::rgba8T< Colorspace >::from_double(), agg::rgba8T< Colorspace >::gradient(), agg::rgba8T< Colorspace >::is_opaque(), agg::rgba8T< Colorspace >::is_transparent(), agg::rgba8T< Colorspace >::lerp(), agg::rgba8T< Colorspace >::mult_cover(), agg::rgba8T< Colorspace >::multiply(), agg::rgba8T< Colorspace >::opacity(), agg::rgba8T< Colorspace >::opacity(), agg::rgba8T< Colorspace >::prelerp(), agg::rgba8T< Colorspace >::premultiply(), agg::rgba8T< Colorspace >::premultiply(), agg::rgba8T< Colorspace >::scale_cover(), agg::rgba8T< Colorspace >::to_double(), and agg::rgba8T< Colorspace >::transparent().
| value_type agg::rgba8T< Colorspace >::b |
Referenced by agg::rgba8T< Colorspace >::add(), agg::rgba8T< Colorspace >::apply_gamma_dir(), agg::rgba8T< Colorspace >::apply_gamma_inv(), agg::rgba8T< Colorspace >::clear(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::demultiply(), agg::rgba8T< Colorspace >::demultiply(), agg::rgba8T< Colorspace >::gradient(), agg::rgba8T< Colorspace >::mult_cover(), agg::rgba8T< Colorspace >::multiply(), agg::rgba8T< Colorspace >::premultiply(), agg::rgba8T< Colorspace >::premultiply(), and agg::rgba8T< Colorspace >::scale_cover().
| value_type agg::rgba8T< Colorspace >::g |
Referenced by agg::rgba8T< Colorspace >::add(), agg::rgba8T< Colorspace >::apply_gamma_dir(), agg::rgba8T< Colorspace >::apply_gamma_inv(), agg::rgba8T< Colorspace >::clear(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::demultiply(), agg::rgba8T< Colorspace >::gradient(), agg::rgba8T< Colorspace >::premultiply(), and agg::rgba8T< Colorspace >::premultiply().
| value_type agg::rgba8T< Colorspace >::r |
Referenced by agg::rgba8T< Colorspace >::add(), agg::rgba8T< Colorspace >::apply_gamma_dir(), agg::rgba8T< Colorspace >::apply_gamma_inv(), agg::rgba8T< Colorspace >::clear(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::convert(), agg::rgba8T< Colorspace >::demultiply(), agg::rgba8T< Colorspace >::gradient(), agg::rgba8T< Colorspace >::premultiply(), and agg::rgba8T< Colorspace >::premultiply().