#include <pixel.h>
Inheritance diagram for Plot::Pixel:
Definition at line 27 of file pixel.h.
Public Types | |
typedef Bounded::Integer< unsigned char > | IComponent |
Integer Bounded number for a Pixel. | |
typedef Bounded::Float< float, 1, 0, Bounded::Crop< Bounded::LargeFloat > > | FComponent |
Floating-point Bounded number for a Pixel. | |
typedef Bounded::Float< float, 1, 0, Bounded::Wrap< Bounded::LargeFloat > > | HueComponent |
Circularly-wrapping Bounded number for the Hue. | |
Public Methods | |
Pixel () | |
Default constructor; pixel remains transparent. | |
Pixel (bool visible) | |
Constructor for a possibly non-transparent pixel. | |
Pixel (const Pixel &other) | |
Copy constructor. | |
bool | istransparent () |
Returns whether the pixel is transparent. | |
void | show () |
Makes this pixel visible. | |
void | hide () |
Makes this pixel transparent. |