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

Pixel traits specialization for packed_index_pixel. More...

#include <index_pixel.hpp>

Inheritance diagram for png::pixel_traits< packed_index_pixel< bits > >:
Collaboration diagram for png::pixel_traits< packed_index_pixel< bits > >:

Public Types

typedef component component_type
 
typedef pixel 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<size_t bits>
struct png::pixel_traits< packed_index_pixel< bits > >

Pixel traits specialization for packed_index_pixel.

Member Typedef Documentation

template<typename pixel, typename component, color_type pixel_color_type, size_t channels = sizeof(pixel) / sizeof(component), size_t bit_depth = std::numeric_limits< component >::digits>
typedef component png::basic_pixel_traits< pixel, component, pixel_color_type, channels, bit_depth >::component_type
inherited
template<typename pixel, typename component, color_type pixel_color_type, size_t channels = sizeof(pixel) / sizeof(component), size_t bit_depth = std::numeric_limits< component >::digits>
typedef pixel png::basic_pixel_traits< pixel, component, pixel_color_type, channels, bit_depth >::pixel_type
inherited

Member Function Documentation

template<typename pixel, typename component, color_type pixel_color_type, size_t channels = sizeof(pixel) / sizeof(component), size_t bit_depth = std::numeric_limits< component >::digits>
static size_t png::basic_pixel_traits< pixel, component, pixel_color_type, channels, bit_depth >::get_bit_depth ( )
inlinestaticinherited
template<typename pixel, typename component, color_type pixel_color_type, size_t channels = sizeof(pixel) / sizeof(component), size_t bit_depth = std::numeric_limits< component >::digits>
static size_t png::basic_pixel_traits< pixel, component, pixel_color_type, channels, bit_depth >::get_channels ( )
inlinestaticinherited
template<typename pixel, typename component, color_type pixel_color_type, size_t channels = sizeof(pixel) / sizeof(component), size_t bit_depth = std::numeric_limits< component >::digits>
static color_type png::basic_pixel_traits< pixel, component, pixel_color_type, channels, bit_depth >::get_color_type ( )
inlinestaticinherited

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