claw 1.9.0
 
Loading...
Searching...
No Matches
pixel.cpp File Reference

Implementation of the pixel classes. More...

#include <claw/graphic/pixel.hpp>
#include <claw/types.hpp>
#include <climits>
#include <limits>
#include <sstream>
#include <stdexcept>
Include dependency graph for pixel.cpp:

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::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::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::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::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())
 
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.