[Gimp-developer] Python and vectors



Is there a Pythonic way to add a gimp.Vectors to an image (ie not using pdb.gimp_vectors_new(img,name)). I can create a new vector using:

vector=gimp.Vectors(image,name)

But if I then use:

image.vectors.append(vector)

the new path is not even added to image.vectors, and dir(image) doesn't list anything that looks like it would handle new vectors.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]