Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::PixelConvertibleConcept< SrcP, DstP > Struct Template Reference

Pixel convertible concept. More...

#include <gil_concept.hpp>

Public Member Functions

void constraints ()
 

Public Attributes

SrcP src
 
DstP dst
 

Detailed Description

template<typename SrcP, typename DstP>
struct boost::gil::PixelConvertibleConcept< SrcP, DstP >

Pixel convertible concept.

Convertibility is non-symmetric and implies that one pixel can be converted to another, approximating the color. Conversion is explicit and sometimes lossy.

template <PixelConcept SrcPixel, MutablePixelConcept DstPixel>
concept PixelConvertibleConcept {
void color_convert(const SrcPixel&, DstPixel&);
};

Member Function Documentation

Member Data Documentation

template<typename SrcP , typename DstP >
DstP boost::gil::PixelConvertibleConcept< SrcP, DstP >::dst
template<typename SrcP , typename DstP >
SrcP boost::gil::PixelConvertibleConcept< SrcP, DstP >::src

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