KJB
|
Code for a wrapper class around the C struct Pixel. More...
#include <l/l_sys_std.h>
#include <l/l_debug.h>
#include <l_cpp/l_util.h>
#include <i/i_float.h>
#include <algorithm>
#include <sstream>
#include <iomanip>
Go to the source code of this file.
Classes | |
struct | kjb::PixelRGBA |
Wrapped version of the C struct Pixel, with Alpha (opacity). More... | |
Namespaces | |
kjb | |
Classes and functions for dealing with trajectory files. | |
Functions | |
std::string | kjb::pixel_as_hex_triplet_string (const kjb_c::Pixel *p) |
express color as HTML-style hex triplet, e.g., "#FFCC00," of pointer More... | |
PixelRGBA | kjb::operator* (const PixelRGBA &p, const PixelRGBA &q) |
Multiply two pixels together. More... | |
PixelRGBA | kjb::operator* (const PixelRGBA &p, double k) |
Scale a pixel by a floating point value on the right. More... | |
PixelRGBA | kjb::operator* (double k, const PixelRGBA &p) |
Scale a pixel by a floating point value on the left. More... | |
kjb_c::Pixel | kjb::abs (const kjb_c::Pixel &p) |
Take the channel-wise absolute value of a kjb_c::Pixel. More... | |
std::string | kjb::pixel_as_hex_triplet_string (const kjb_c::Pixel &p) |
express color as HTML-style hex triplet, e.g., "#FFCC00," reference More... | |
Code for a wrapper class around the C struct Pixel.