gray.hpp 619 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // Copyright 2005-2007 Adobe Systems Incorporated
  3. //
  4. // Distributed under the Boost Software License, Version 1.0
  5. // See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt
  7. //
  8. #ifndef BOOST_GIL_GRAY_HPP
  9. #define BOOST_GIL_GRAY_HPP
  10. #include <boost/gil/utilities.hpp>
  11. #include <boost/gil/detail/mp11.hpp>
  12. namespace boost { namespace gil {
  13. /// \ingroup ColorNameModel
  14. /// \brief Gray
  15. struct gray_color_t {};
  16. /// \ingroup ColorSpaceModel
  17. using gray_t = mp11::mp_list<gray_color_t>;
  18. /// \ingroup LayoutModel
  19. using gray_layout_t = layout<gray_t>;
  20. }} // namespace boost::gil
  21. #endif