Lines Matching defs:SPColor
39 struct SPColor {
40 SPColor();
41 SPColor( SPColor const& other );
42 SPColor( float r, float g, float b );
43 SPColor( guint32 value );
44 virtual ~SPColor();
46 SPColor& operator= (SPColor const& other);
48 bool operator == ( SPColor const& other ) const;
49 bool operator != ( SPColor const& other ) const { return !(*this == other); };
50 bool isClose( SPColor const& other, float epsilon ) const;
66 guint32 sp_color_get_rgba32_ualpha (const SPColor *color, guint32 alpha);
67 guint32 sp_color_get_rgba32_falpha (const SPColor *color, float alpha);
69 void sp_color_get_rgb_floatv (const SPColor *color, float *rgb);
70 void sp_color_get_cmyk_floatv (const SPColor *color, float *cmyk);