png::basic_rgb_pixel< T > Struct Template Reference

RGB pixel type. More...

#include <rgb_pixel.hpp>

List of all members.

Public Member Functions

 basic_rgb_pixel ()
 Default constructor. Initializes all components with zeros.
 basic_rgb_pixel (T red, T green, T blue)
 Constructs rgb_pixel object from red, green and blue components passed as parameters.

Public Attributes

red
green
blue


Detailed Description

template<typename T>
struct png::basic_rgb_pixel< T >

RGB pixel type.


Constructor & Destructor Documentation

template<typename T>
png::basic_rgb_pixel< T >::basic_rgb_pixel (  )  [inline]

Default constructor. Initializes all components with zeros.

template<typename T>
png::basic_rgb_pixel< T >::basic_rgb_pixel ( red,
green,
blue 
) [inline]

Constructs rgb_pixel object from red, green and blue components passed as parameters.


Member Data Documentation

template<typename T>
T png::basic_rgb_pixel< T >::red

template<typename T>
T png::basic_rgb_pixel< T >::green

template<typename T>
T png::basic_rgb_pixel< T >::blue


The documentation for this struct was generated from the following file:
Generated on Sun Jul 8 19:33:01 2007 for png++ by  doxygen 1.5.2