Lines Matching defs:SPColor
37 SPColor::SPColor() :
45 SPColor::SPColor( SPColor const& other ) :
51 SPColor::SPColor( float r, float g, float b ) :
57 SPColor::SPColor( guint32 value ) :
63 SPColor::~SPColor()
70 SPColor& SPColor::operator= (SPColor const& other)
93 bool SPColor::operator == (SPColor const& other) const
109 bool SPColor::isClose( SPColor const& other, float epsilon ) const
141 void SPColor::set( float r, float g, float b )
159 void SPColor::set( guint32 value )
168 * Convert SPColor with integer alpha value to 32bit RGBA value.
171 guint32 SPColor::toRGBA32( int alpha ) const
183 * Convert SPColor with float alpha value to 32bit RGBA value.
186 guint32 SPColor::toRGBA32( double alpha ) const
194 std::string SPColor::toString() const
220 * Fill rgb float array with values from SPColor.
224 sp_color_get_rgb_floatv(SPColor const *color, float *rgb)
235 * Fill cmyk float array with values from SPColor.
239 sp_color_get_cmyk_floatv(SPColor const *color, float *cmyk)