Code

Updating to current trunk
[inkscape.git] / src / svg / svg-color.h
1 #ifndef SVG_SVG_COLOR_H_SEEN
2 #define SVG_SVG_COLOR_H_SEEN
4 #include <glib/gtypes.h>
6 class SVGICCColor;
7 class SVGDeviceColor;
9 guint32 sp_svg_read_color(gchar const *str, unsigned int dfl);
10 guint32 sp_svg_read_color(gchar const *str, gchar const **end_ptr, guint32 def);
11 void sp_svg_write_color(char *buf, unsigned int buflen, unsigned int rgba32);
13 bool sp_svg_read_icc_color( gchar const *str, gchar const **end_ptr, SVGICCColor* dest );
14 bool sp_svg_read_icc_color( gchar const *str, SVGICCColor* dest );
15 bool sp_svg_read_device_color( gchar const *str, gchar const **end_ptr, SVGDeviceColor* dest );
16 bool sp_svg_read_device_color( gchar const *str, SVGDeviceColor* dest );
17 void icc_color_to_sRGB(SVGICCColor* dest, guchar* r, guchar* g, guchar* b);
19 #endif /* !SVG_SVG_COLOR_H_SEEN */