libpng++  v0.2.5-1
C++ library for PNG images
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
png::pixel_traits< basic_rgb_pixel< T > > Struct Template Reference

Pixel traits specialization for basic_rgb_pixel. More...

#include <rgb_pixel.hpp>

Inheritance diagram for png::pixel_traits< basic_rgb_pixel< T > >:
Collaboration diagram for png::pixel_traits< basic_rgb_pixel< T > >:

Public Types

typedef T component_type
 
typedef basic_rgb_pixel< T > pixel_type
 

Static Public Member Functions

static size_t get_bit_depth ()
 
static size_t get_channels ()
 
static color_type get_color_type ()
 

Detailed Description

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

Pixel traits specialization for basic_rgb_pixel.

Member Typedef Documentation

typedef T png::basic_pixel_traits< basic_rgb_pixel< T > , T , pixel_color_type, sizeof(basic_rgb_pixel< T > ) / sizeof(T ) , std::numeric_limits< T >::digits >::component_type
inherited
typedef basic_rgb_pixel< T > png::basic_pixel_traits< basic_rgb_pixel< T > , T , pixel_color_type, sizeof(basic_rgb_pixel< T > ) / sizeof(T ) , std::numeric_limits< T >::digits >::pixel_type
inherited

Member Function Documentation

static size_t png::basic_pixel_traits< basic_rgb_pixel< T > , T , pixel_color_type, sizeof(basic_rgb_pixel< T > ) / sizeof(T ) , std::numeric_limits< T >::digits >::get_bit_depth ( )
inlinestaticinherited
static size_t png::basic_pixel_traits< basic_rgb_pixel< T > , T , pixel_color_type, sizeof(basic_rgb_pixel< T > ) / sizeof(T ) , std::numeric_limits< T >::digits >::get_channels ( )
inlinestaticinherited
static color_type png::basic_pixel_traits< basic_rgb_pixel< T > , T , pixel_color_type, sizeof(basic_rgb_pixel< T > ) / sizeof(T ) , std::numeric_limits< T >::digits >::get_color_type ( )
inlinestaticinherited

The documentation for this struct was generated from the following file: