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.
|
Functions |
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()) |
Variables |
rgba_pixel | claw::graphic::transparent_pixel (0, 0, 0, 0) |
rgba_pixel | claw::graphic::black_pixel (0, 0, 0, std::numeric_limits< rgba_pixel::component_type >::max()) |
rgba_pixel | claw::graphic::blue_pixel (0, 0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max()) |
rgba_pixel | claw::graphic::green_pixel (0, std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max()) |
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()) |
Detailed Description
Implementation of the pixel classes.
- Author:
- Julien Jorge
Definition in file pixel.cpp.