- unsigned int linear_gradient_stop_count;
- const char *gradient_x1, *gradient_y1, *gradient_x2, *gradient_y2;
- struct svgtiny_gradient_stop gradient_stop[svgtiny_MAX_STOPS];
- bool gradient_user_space_on_use;
- struct {
- float a, b, c, d, e, f;
- } gradient_transform;
+ struct svgtiny_parse_state_gradient fill_grad;
+ struct svgtiny_parse_state_gradient stroke_grad;
+
+ /* Interned strings */
+#define SVGTINY_STRING_ACTION2(n,nn) dom_string *interned_##n;
+#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;