#include <hsv.h>
|
std::string | toString (std::vector< double > const &values, bool opacity) const override |
| Print the HSV color to a CSS hwb() string.
|
|
std::string | toString (std::vector< double > const &values, bool opacity=true) const override |
| Print the RGB color to a CSS Hex code of 6 or 8 digits.
|
|
uint32_t | toRGBA (std::vector< double > const &values, double opacity=1.0) const override |
| Convert the color into an RGBA32 for use within Gdk rendering.
|
|
| AnySpace () |
|
bool | isValidData (std::vector< double > const &values) const |
| Return true if the given data would be valid for this color space.
|
|
virtual std::vector< Parser > | getParsers () const |
|
bool | convert (std::vector< double > &io, std::shared_ptr< AnySpace > to_space) const |
| In place conversion of a color object to the given space.
|
|
bool | profileToProfile (std::vector< double > &io, std::shared_ptr< AnySpace > to_space) const |
| Step two in coverting a color, convert it's profile to another profile (if needed)
|
|
virtual bool | overInk (std::vector< double > const &input) const |
|
bool | outOfGamut (std::vector< double > const &input, std::shared_ptr< AnySpace > to_space) const |
| Return true if the color would be out of gamut in the target color space.
|
|
Definition at line 18 of file hsv.h.
◆ HSV()
Inkscape::Colors::Space::HSV::HSV |
( |
| ) |
|
|
default |
◆ ~HSV()
Inkscape::Colors::Space::HSV::~HSV |
( |
| ) |
|
|
overridedefault |
◆ getIcon()
std::string const Inkscape::Colors::Space::HSV::getIcon |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getName()
std::string const Inkscape::Colors::Space::HSV::getName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getType()
Type Inkscape::Colors::Space::HSV::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ profileToSpace()
void Inkscape::Colors::Space::HSV::profileToSpace |
( |
std::vector< double > & |
output | ) |
const |
|
overridevirtual |
◆ spaceToProfile()
void Inkscape::Colors::Space::HSV::spaceToProfile |
( |
std::vector< double > & |
output | ) |
const |
|
overridevirtual |
◆ toString()
std::string Inkscape::Colors::Space::HSV::toString |
( |
std::vector< double > const & |
values, |
|
|
bool |
opacity |
|
) |
| const |
|
overrideprotectedvirtual |
Print the HSV color to a CSS hwb() string.
- values - A vector of doubles for each channel in the HSV space
- opacity - True if the opacity should be included in the output.
Implements Inkscape::Colors::Space::AnySpace.
Definition at line 114 of file hsv.cpp.
◆ Inkscape::Colors::Color
Definition at line 32 of file hsv.h.
The documentation for this class was generated from the following files:
- /builds/inkscape/inkscape/src/colors/spaces/hsv.h
- /builds/inkscape/inkscape/src/colors/spaces/hsv.cpp