#include <stdbool.h>
#include <dom/dom.h>
+#include <libcss/libcss.h>
#ifndef UNUSED
#define UNUSED(x) ((void) (x))
float a, b, c, d, e, f;
} ctm;
- /*struct css_style style;*/
+ /* A libcss context to hold any stylesheets that are present
+ * in the SVG document. This should be pre-populated rather
+ * than on-the-fly, because, for example, a <style> sheet at
+ * the end of the document should affect the SVG elements that
+ * precede it. */
+ css_select_ctx *select_ctx;
/* paint attributes */
svgtiny_colour fill;
void *svgtiny_list_push(struct svgtiny_list *list);
void svgtiny_list_free(struct svgtiny_list *list);
-/* colors.gperf */
-const struct svgtiny_named_color *
- svgtiny_color_lookup(register const char *str,
- register unsigned int len);
-
#endif