pixel.cpp File Reference

Implementation of the pixel classes. More...

`#include <claw/pixel.hpp>`
`#include <claw/types.hpp>`
`#include <stdexcept>`
`#include <limits>`
`#include <climits>`
`#include <sstream>`

Go to the source code of this file.

## Namespaces

namespace | claw
| This is the main namespace.
namespace | claw::graphic
| Everything about image structures and processing.
rgba_pixel | claw::graphic::transparent_pixel (0, 0, 0, 0)
| A transparent color.
rgba_pixel | claw::graphic::black_pixel (0, 0, 0, std::numeric_limits< rgba_pixel::component_type >::max())
| The black color.
rgba_pixel | claw::graphic::blue_pixel (0, 0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())
| The blue color.
rgba_pixel | claw::graphic::green_pixel (0, std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max())
| The green color.
rgba_pixel | claw::graphic::cyan_pixel (0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())
| The cyan color.
rgba_pixel | claw::graphic::white_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel | claw::graphic::red_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), 0, 0, std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel | claw::graphic::yellow_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max())
rgba_pixel | claw::graphic::magenta_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max())

## Detailed Description

Implementation of the pixel classes.

Author
  Julien Jorge

Definition in file pixel.cpp.