png++
0.2.9
|
RGBA pixel type. More...
#include <rgba_pixel.hpp>
Public Types | |
typedef pixel_traits< basic_rgba_pixel< T > > | traits |
Public Member Functions | |
basic_rgba_pixel () | |
Default constructor. Initializes all components with zeros. More... | |
basic_rgba_pixel (T red, T green, T blue, T alpha=traits::get_alpha_filler()) | |
Constructs rgba_pixel object from red, green, blue and alpha components passed as parameters. Alpha defaults to full opacity. More... | |
Public Attributes | |
T | red |
T | green |
T | blue |
T | alpha |
RGBA pixel type.
typedef pixel_traits< basic_rgba_pixel< T > > png::basic_rgba_pixel< T >::traits |
|
inline |
Default constructor. Initializes all components with zeros.
|
inline |
Constructs rgba_pixel object from red, green, blue and alpha components passed as parameters. Alpha defaults to full opacity.
T png::basic_rgba_pixel< T >::red |
T png::basic_rgba_pixel< T >::green |
T png::basic_rgba_pixel< T >::blue |
T png::basic_rgba_pixel< T >::alpha |