31 #ifndef PNGPP_RGB_PIXEL_HPP_INCLUDED 32 #define PNGPP_RGB_PIXEL_HPP_INCLUDED 43 template<
typename T >
60 : red(red), green(green), blue(blue)
82 template<
typename T >
90 #endif // PNGPP_RGB_PIXEL_HPP_INCLUDED T red
Definition: rgb_pixel.hpp:64
basic_rgb_pixel(T red, T green, T blue)
Constructs rgb_pixel object from red, green and blue components passed as parameters.
Definition: rgb_pixel.hpp:59
RGB pixel type.
Definition: rgb_pixel.hpp:44
basic_rgb_pixel()
Default constructor. Initializes all components with zeros.
Definition: rgb_pixel.hpp:50
Pixel traits class template.
Definition: pixel_traits.hpp:48
T blue
Definition: rgb_pixel.hpp:66
basic_rgb_pixel< byte > rgb_pixel
Definition: rgb_pixel.hpp:72
T green
Definition: rgb_pixel.hpp:65
Basic pixel traits class template.
Definition: pixel_traits.hpp:61
basic_rgb_pixel< uint_16 > rgb_pixel_16
Definition: rgb_pixel.hpp:77