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

Pixel traits specialization for gray_pixel. More...

#include <gray_pixel.hpp>

Inheritance diagram for png::pixel_traits< gray_pixel >:
Collaboration diagram for png::pixel_traits< gray_pixel >:

Public Types

typedef byte component_type
 
typedef gray_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<>
struct png::pixel_traits< gray_pixel >

Pixel traits specialization for gray_pixel.

Member Typedef Documentation

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

Member Function Documentation

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

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