svgtiny_colour stroke;
int stroke_width;
+ /* alpha */
+ float fill_opacity;
+ float stroke_opacity;
+
/* gradients */
struct svgtiny_parse_state_gradient fill_grad;
struct svgtiny_parse_state_gradient stroke_grad;
#include "svgtiny_strings.h"
#undef SVGTINY_STRING_ACTION2
+ /* Where we store the interned copy of the SVG XML namespace,
+ *
+ * http://www.w3.org/2000/svg
+ *
+ * We handle it separately it has a different type
+ * (lwc_string) than those above (dom_string).
+ */
+ lwc_string *interned_svg_xmlns;
};
struct svgtiny_list;
#define strndup svgtiny_strndup
#endif
+/* svgtiny_css.c */
+css_error svgtiny_create_stylesheet(css_stylesheet **sheet,
+ bool inline_style);
+css_error svgtiny_select_style(struct svgtiny_parse_state *state,
+ dom_element *node,
+ const css_stylesheet *inline_sheet,
+ css_select_results **result);
+
/* svgtiny_gradient.c */
void svgtiny_find_gradient(const char *id,
struct svgtiny_parse_state_gradient *grad,