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

Pixel traits specialization for basic_ga_pixel. More...

#include <ga_pixel.hpp>

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

Public Types

typedef T component_type
 
typedef basic_ga_pixel< T > pixel_type
 

Static Public Member Functions

static T get_alpha_filler ()
 Returns the default alpha channel filler for full opacity. More...
 
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_ga_pixel< T > >

Pixel traits specialization for basic_ga_pixel.

Member Typedef Documentation

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

Member Function Documentation

static T png::basic_alpha_pixel_traits< T >::get_alpha_filler ( )
inlinestaticinherited

Returns the default alpha channel filler for full opacity.

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

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