30#ifndef __CLAW_PIXEL_HPP_
31#define __CLAW_PIXEL_HPP_
rgba_pixel cyan_pixel
The cyan color.
rgba_pixel green_pixel
The green color.
rgba_pixel transparent_pixel
A transparent color.
rgba_pixel red_pixel
The red color.
rgba_pixel white_pixel
The white color.
rgba_pixel black_pixel
The black color.
rgba_pixel yellow_pixel
The yellow color.
rgba_pixel magenta_pixel
The magenta color.
rgba_pixel blue_pixel
The blue color.
Everything about image structures and processing.
rgba_pixel rgba_pixel_8
A color with 8 bits per component and an alpha channel.
rgb_pixel rgb_pixel_8
A color with 8 bits per component.
This is the main namespace.
struct claw::graphic::rgb_pixel::@217001364276256254254300335037210026331301104326 components
Component by component representation.
component_type red
Red component.
component_type blue
Blue component.
bool operator==(const rgb_pixel &that) const
Compare to a pixel.
unsigned char component_type
The type of the components of the color.
component_type green
Green component.
bool operator!=(const rgb_pixel &that) const
Compare to a pixel.
rgb_pixel()
Default constructor.
unsigned char component_type
The type of the components of the color.
rgba_pixel & operator=(const rgb_pixel &that)
Assignement operator.
component_type red
Red component.
component_type luminosity() const
Get the luminosity of the pixel.
struct claw::graphic::rgba_pixel::@243011111317154221214371326113376113353054140240::@062221254366262347154034240363361326201063204322 components
Component by component representation.
bool operator!=(const rgba_pixel &that) const
Tell if two pixels are different.
bool operator==(const rgba_pixel &that) const
Tell if two pixels are equal.
component_type alpha
Translucy.
component_type green
Green component.
component_type blue
Blue component.
unsigned int pixel
Compressed representation.
rgba_pixel()
Default constructor.