png++: png::basic_rgb_pixel< T > Struct Template Reference

png++ 0.2.9

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
png::basic_rgb_pixel< T > Struct Template Reference

RGB pixel type. More...

`#include <rgb_pixel.hpp>`

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

## Public Attributes
T | red
T | green
T | 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 | ( | T | red,
|  | T | green,
|  | T | 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:

- rgb_pixel.hpp