summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-color.h
blob: 692c1dd009c6c8d7c0bb6bffbdac4f0e8108ae72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SVG_SVG_COLOR_H_SEEN
#define SVG_SVG_COLOR_H_SEEN

#include <glib/gtypes.h>

class SVGICCColor;

guint32 sp_svg_read_color(gchar const *str, unsigned int dfl);
guint32 sp_svg_read_color(gchar const *str, gchar const **end_ptr, guint32 def);
void sp_svg_write_color(char *buf, unsigned int buflen, unsigned int rgba32);

bool sp_svg_read_icc_color( gchar const *str, gchar const **end_ptr, SVGICCColor* dest );


#endif /* !SVG_SVG_COLOR_H_SEEN */