When the inverse masking is used the proper composition method
is passed to the TVG function. So far only masking was supprted.
Change-Id: Iee0b769dc6ae5b73ca27ac8fb18f0db54122c13d
//FIX_TVG: currently only matte alpha is supported. Observed crash in thorvg when CLIP_PATH method is used.
if (method == EFL_GFX_VG_COMPOSITE_METHOD_MATTE_ALPHA)
tvg_paint_set_composite_method(pd->scene, pd2->scene, TVG_COMPOSITE_METHOD_ALPHA_MASK);
+ else if (method == EFL_GFX_VG_COMPOSITE_METHOD_MATTE_ALPHA_INVERSE)
+ tvg_paint_set_composite_method(pd->scene, pd2->scene, TVG_COMPOSITE_METHOD_INVERSE_ALPHA_MASK);
}
pd->comp.method = method;