Page MenuHomePhabricator

Wrong behavior in evas_vg_shape_shape_path_length_get
Open, NormalPublic


if user doesn't set command end (in array of commands) in function evas_vg_shape_shape_path_set, then evas_vg_shape_shape_path_length_get returns wrong size of array

smohanty added a subscriber: cedric.Oct 5 2016, 6:43 PM

evas_vg_shape_path_get(Eo *obj, const Efl_Gfx_Path_Command op, const double points) dosen't take command count as argument the only way to know the length of the command array by looking for the end command. Ideally this shouldn't be part of public api , as user either will set the svg file or set the evas_vg_shape_append_svg_path()

@cedric, do you have any comment on this ?

stefan_schmidt lowered the priority of this task from High to Normal.Feb 10 2017, 6:50 AM
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:54 AM
zmike edited projects, added efl: rendering; removed Restricted Project.Jun 11 2018, 9:06 AM

Is this still an issue?