31 #ifndef PNGPP_GA_PIXEL_HPP_INCLUDED 32 #define PNGPP_GA_PIXEL_HPP_INCLUDED 45 template<
typename T >
77 template<
typename T >
86 #endif // PNGPP_GA_PIXEL_HPP_INCLUDED basic_ga_pixel< byte > ga_pixel
The 8-bit Gray+Alpha pixel type.
Definition: ga_pixel.hpp:67
T value
Definition: ga_pixel.hpp:60
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. Alpha defaults to full opacity.
Definition: ga_pixel.hpp:55
Basic Gray+Alpha pixel type.
Definition: ga_pixel.hpp:46
pixel_traits< basic_ga_pixel< T > > traits
Definition: ga_pixel.hpp:48
Pixel traits class template.
Definition: pixel_traits.hpp:48
T alpha
Definition: ga_pixel.hpp:61
static T get_alpha_filler()
Returns the default alpha channel filler for full opacity.
Definition: pixel_traits.hpp:95
Basic pixel traits class template.
Definition: pixel_traits.hpp:61
basic_ga_pixel< uint_16 > ga_pixel_16
The 16-bit Gray+Alpha pixel type.
Definition: ga_pixel.hpp:72
Basic pixel traits class template for pixels with alpha channel.
Definition: pixel_traits.hpp:89