grad->id = _copy_id(from->id);
grad->ref = _copy_id(from->ref);
grad->spread = from->spread;
+ grad->user_space = from->user_space;
grad->stops = _clone_grad_stops(from->stops);
if (grad->type == SVG_LINEAR_GRADIENT)
{
{
grad->ref = _id_from_href(value);
}
+ else if (!strcmp(key, "gradientUnits") && !strcmp(value, "userSpaceOnUse"))
+ {
+ grad->user_space = EINA_TRUE;
+ }
return EINA_TRUE;
}
{
grad->ref = _id_from_href(value);
}
+ else if (!strcmp(key, "gradientUnits") && !strcmp(value, "userSpaceOnUse"))
+ {
+ grad->user_space = EINA_TRUE;
+ }
return EINA_TRUE;
}
#ifndef EVAS_STATIC_BUILD_VG_SVG
EVAS_EINA_MODULE_DEFINE(vg_loader, svg);
-#endif
\ No newline at end of file
+#endif
Eina_Stringshare *id;
Eina_Stringshare *ref;
Efl_Gfx_Gradient_Spread spread;
+ Eina_Bool user_space;
Eina_List *stops; // Efl_Gfx_Gradient_Stop
Svg_Radial_Gradient *radial;
Svg_Linear_Gradient *linear;