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. Alpha defaults to full opacity. | |
Public Attributes | |
T | value |
T | alpha |
Basic Gray+Alpha pixel type.
typedef pixel_traits< basic_ga_pixel< T > > png::basic_ga_pixel< T >::traits |
png::basic_ga_pixel< T >::basic_ga_pixel | ( | T | value = 0 , |
|
T | alpha = traits::get_alpha_filler() | |||
) | [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 >::value |
T png::basic_ga_pixel< T >::alpha |