new_stop = calloc(1, sizeof(Evas_Vg_Gradient_Stop));
if (!new_stop) goto oom_error;
memcpy(new_stop, stops, sizeof(Evas_Vg_Gradient_Stop));
+ evas_color_argb_unpremul(new_stop->a, &new_stop->r, &new_stop->g, &new_stop->b);
grad->stops = eina_list_append(grad->stops, new_stop);
stops++;
}
{
evas_vg_node_color_get(vg, &style->fill.paint.r, &style->fill.paint.g,
&style->fill.paint.b, &style->fill.opacity);
+ evas_color_argb_unpremul(style->fill.opacity, &style->fill.paint.r, &style->fill.paint.g, &style->fill.paint.b);
}
// apply stroke style property
// apply the stroke color
evas_vg_shape_stroke_color_get(vg, &style->stroke.paint.r, &style->stroke.paint.g,
&style->stroke.paint.b, &style->stroke.opacity);
+ evas_color_argb_unpremul(style->stroke.opacity, &style->stroke.paint.r, &style->stroke.paint.g, &style->stroke.paint.b);
}
style->stroke.width = evas_vg_shape_stroke_width_get(vg);