Boost GIL


Classes | Functions
detail::homogeneous_color_base

A homogeneous color base holding one color element. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept If the element type models Regular, this class models HomogeneousColorBaseValueConcept. More...

Classes

struct  homogeneous_color_base< Element, Layout, 1 >
 A homogeneous color base holding one color element. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
 
struct  homogeneous_color_base< Element, Layout, 2 >
 A homogeneous color base holding two color elements Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
 
struct  homogeneous_color_base< Element, Layout, 3 >
 A homogeneous color base holding three color elements. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
 
struct  homogeneous_color_base< Element, Layout, 4 >
 A homogeneous color base holding four color elements. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
 
struct  homogeneous_color_base< Element, Layout, 5 >
 A homogeneous color base holding five color elements. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept. More...
 

Functions

template<int K, typename E , typename L , int N>
auto at_c (detail::homogeneous_color_base< E, L, N > &p) -> typename std::add_lvalue_reference< E >::type
 Provides mutable access to the K-th element, in physical order.
 
template<int K, typename E , typename L , int N>
auto at_c (const detail::homogeneous_color_base< E, L, N > &p) -> typename std::add_lvalue_reference< typename std::add_const< E >::type >::type
 Provides constant access to the K-th element, in physical order.
 

Detailed Description

A homogeneous color base holding one color element. Models HomogeneousColorBaseConcept or HomogeneousColorBaseValueConcept If the element type models Regular, this class models HomogeneousColorBaseValueConcept.