Adobe Systems, Inc.

PixelsCompatibleConcept< P1, P2 > Struct Template Reference
[Pixel]

Pixels compatible concept. More...

#include <gil_concept.hpp>

List of all members.


Public Member Functions

void constraints ()

Detailed Description

template<typename P1, typename P2>
struct PixelsCompatibleConcept< P1, P2 >

// Pixels are compatible if they have compatible color spaces and the same channel values
template <HeterogeneousPixelConcept P1, HeterogeneousPixelConcept P2>
concept PixelsCompatibleConcept {
    where ColorSpacesCompatibleConcept<P1::color_space_t, P2::color_space_t>;
    template <size_t D> where P1::kth_channel<D>::type::value_type == P2::kth_channel<D>::type::value_type; 
};

Definition at line 621 of file gil_concept.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google