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

The packed indexed pixel class template. More...

#include <index_pixel.hpp>

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

Public Member Functions

 packed_index_pixel (byte value=0)
 
 operator byte () const
 

Static Public Member Functions

static size_t const get_bit_depth ()
 
static byte const get_bit_mask ()
 

Detailed Description

template<size_t bits>
class png::packed_index_pixel< bits >

The packed indexed pixel class template.

The available specializations are for 1-, 2- and 4-bit pixels.

Constructor & Destructor Documentation

template<size_t bits>
png::packed_index_pixel< bits >::packed_index_pixel ( byte  value = 0)
inline

Member Function Documentation

template<size_t bits>
static size_t const png::packed_pixel< bits >::get_bit_depth ( )
inlinestaticinherited
template<size_t bits>
static byte const png::packed_pixel< bits >::get_bit_mask ( )
inlinestaticinherited
template<size_t bits>
png::packed_pixel< bits >::operator byte ( ) const
inlineinherited

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