neoGFX
Cross-platform C++ app/game engine
|
#include <neogfx/neogfx.hpp>
#include <type_traits>
#include <neogfx/core/geometrical.hpp>
#include <neolib/app/i_setting_value.hpp>
#include <neogfx/gui/layout/i_geometry.hpp>
#include <neogfx/gfx/hsl_color.hpp>
#include <neogfx/gfx/hsv_color.hpp>
#include <neogfx/gfx/color_bits.hpp>
#include "color.inl"
Go to the source code of this file.
Namespaces | |
namespace | neogfx |
Typedefs | |
using | neogfx::linear_color = basic_rgb_color< color_space::LinearRGB, scalar > |
using | neogfx::color = sRGB_color |
typedef optional< color > | neogfx::optional_color |
Functions | |
scalar | neogfx::sRGB_to_linear (scalar s, scalar scale=1.0) |
scalar | neogfx::linear_to_sRGB (scalar l, scalar scale=1.0) |
scalar | neogfx::to_sRGB (color_space srcSpace, scalar srcValue, scalar scale) |
scalar | neogfx::from_sRGB (color_space srcSpace, scalar srcValue, scalar scale) |
color | neogfx::mix (const color &aLhs, const color &aRhs, double aMixValue) |