Euphoria
|
rgb.cc File Reference
#include "base/rgb.h"
#include <iostream>
#include <map>
#include <iomanip>
#include "base/default_interpolate.h"
#include "base/numeric.h"
#include "base/stringutils.h"
#include "base/range.h"
#include "base/stringmerger.h"
Go to the source code of this file.
Namespaces | |
eu | |
Functions | |
Rgb | eu::operator+ (const Rgb &lhs, const Rgb &rhs) |
Rgb | eu::operator- (const Rgb &lhs, const Rgb &rhs) |
Rgb | eu::operator* (const Rgb &lhs, const Rgb &rhs) |
Rgb | eu::operator/ (const Rgb &lhs, float rhs) |
Rgb | eu::operator* (const Rgb &lhs, float rhs) |
Rgb | eu::operator* (float lhs, const Rgb &rhs) |
float | eu::dot (const Rgb &lhs, const Rgb &rhs) |
Rgb | eu::clamp (const Rgb &c) |
std::string | eu::to_string (const Rgbi &c) |
std::string | eu::to_string (const Rgbai &c) |
std::string | eu::to_string (const Rgb &v) |
std::string | eu::to_string (const Rgba &v) |
std::string | eu::to_string (const Hsl &v) |
bool | eu::operator== (const Rgbi &lhs, const Rgbi &rhs) |
bool | eu::operator!= (const Rgbi &lhs, const Rgbi &rhs) |
bool | eu::operator== (const Rgbai &lhs, const Rgbai &rhs) |
bool | eu::operator!= (const Rgbai &lhs, const Rgbai &rhs) |
Rgb | eu::to_rgb (const Rgbi &c) |
Rgb | eu::to_rgb (const Rgba &c) |
Rgb | eu::to_rgb (const Rgbai &c) |
Rgb | eu::to_rgb (const Hsl &hsl) |
Hsl | eu::to_hsl (const Rgb &c) |
Rgbi | eu::to_rgbi (const Rgb &c) |
Rgbi | eu::to_rgbi (const Rgba &c) |
Rgbi | eu::to_rgbi (const Rgbai &c) |
Rgba | eu::to_rgba (const Rgbai &c) |
Rgbai | eu::to_rgbai (const Rgba &c) |
Rgb | eu::lerp_rgb (const Rgb &from, float v, const Rgb &to) |
std::string | eu::to_js_hex_color (const Rgbi &c) |
std::string | eu::to_html_rgb (const Rgbi &c) |
Hsl | eu::get_saturated (const Hsl &ahsl, float amount, IsAbsolute method) |
Hsl | eu::get_desaturated (const Hsl &ahsl, float amount, IsAbsolute method) |
Hsl | eu::get_lightened (const Hsl &ahsl, float amount, IsAbsolute method) |
Hsl | eu::get_darkened (const Hsl &ahsl, float amount, IsAbsolute method) |
Rgb | eu::get_shaded_color (const Rgb &color, float percentage) |
Makes a color brighter or darker. More... | |
Result< Rgbi > | eu::to_rgbi (const std::string &original_value) |