Lines Matching defs:color
2 * Color selected in color selector widget.
20 #include "svg/svg-icc-color.h"
21 #include "ui/selected-color.h"
42 void SelectedColor::setColor(SPColor const &color)
44 setColorAlpha( color, _alpha);
47 SPColor SelectedColor::color() const
65 SPColor color(value);
67 setColorAlpha(color, alpha);
72 return color().toRGBA32(_alpha);
75 void SelectedColor::setColorAlpha(SPColor const &color, gfloat alpha, bool emit_signal)
78 g_message("SelectedColor::setColorAlpha( this=%p, %f, %f, %f, %s, %f, %s)", this, color.v.c[0], color.v.c[1], color.v.c[2], (color.icc?color.icc->colorProfile.c_str():"<null>"), alpha, (emit_signal?"YES":"no"));
89 (!color.isClose( _color, _EPSILON )?"YES":"no"),
94 if ( _virgin || !color.isClose( _color, _EPSILON ) ||
99 _color = color;
115 g_message("++++ SelectedColor::setColorAlpha color:%08x ==> _color:%08X isClose:%s", color.toRGBA32(alpha), _color.toRGBA32(_alpha),
116 (color.isClose( _color, _EPSILON )?"YES":"no"));
121 void SelectedColor::colorAlpha(SPColor &color, gfloat &alpha) const {
122 color = _color;