Generic Image Library: PixelConvertibleConcept< SrcP, DstP > Struct Template Reference

###  | #  |

Public Member Functions | Public Attributes | List of all members
PixelConvertibleConcept< SrcP, DstP > Struct Template Reference
Pixel » Concepts

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. More...

`#include <pixel.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&);
};
boost::gil::color_convert
void color_convert(const SrcP &src, DstP &dst)
helper function for converting one pixel to another using GIL default color-converters where ScrP mod...
Definition color_convert.hpp:342
boost::gil::PixelConvertibleConcept
Pixel convertible concept Convertibility is non-symmetric and implies that one pixel can be converted...
Definition concepts/pixel.hpp:278

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

- concepts/pixel.hpp