boost::gil::get_color

get_color overloads

Synopses

Mutable accessor to the element associated with a given color name

template<
    typename ColorBase,
    typename Color>
color_element_reference_type<ColorBase, Color>::type
get_color(
    ColorBase& cb,
    Color = Color());

Constant accessor to the element associated with a given color name

template<
    typename ColorBase,
    typename Color>
color_element_const_reference_type<ColorBase, Color>::type
get_color(
    ColorBase const& cb,
    Color = Color());

Created with MrDocs