01-17-2018, 09:04 PM
You are on the wrong track, pdb.gimp_edit_stroke_vectors(drawable, vectors) is the API to "Edit>Stroke Path".
What you need is pdb.gimp_image_select_polygon(image, operation, num_segs, segs).
What you need is pdb.gimp_image_select_polygon(image, operation, num_segs, segs).