Basic Gray+Alpha pixel type. More...
#include <ga_pixel.hpp>
Public Types | |
typedef pixel_traits < basic_ga_pixel< T > > | traits |
Public Member Functions | |
basic_ga_pixel (T value=0, T alpha=traits::get_alpha_filler()) | |
Constructs basic_ga_pixel object from value and alpha components passed as parameters. More... | |
Public Attributes | |
T | alpha |
T | value |
Basic Gray+Alpha pixel type.
typedef pixel_traits< basic_ga_pixel< T > > png::basic_ga_pixel< T >::traits |
|
inline |
Constructs basic_ga_pixel object from value and alpha components passed as parameters.
Alpha defaults to full opacity.
T png::basic_ga_pixel< T >::alpha |
T png::basic_ga_pixel< T >::value |