2016-11-03 15:46:00 +01:00
|
|
|
#ifndef __SKETCH_h__
|
|
|
|
#define __SKETCH_h__
|
|
|
|
|
2016-11-03 16:20:22 +01:00
|
|
|
#ifdef __cplusplus
|
2016-11-04 08:40:58 +01:00
|
|
|
extern "C" {
|
2016-11-03 16:20:22 +01:00
|
|
|
#endif
|
2016-11-04 08:40:58 +01:00
|
|
|
|
|
|
|
size_t color_to_string (const char *name, const char *uri, char *buf, size_t bsize);
|
|
|
|
int color_from_string (const char *name, const char *uri, const char *s);
|
2016-11-03 15:46:00 +01:00
|
|
|
int color_rgb_from_string (const char *r, const char *g, const char *b);
|
|
|
|
|
2016-11-04 08:40:58 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2016-11-03 15:46:00 +01:00
|
|
|
#endif
|