need help with script-fu vector creation

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

 



So I wanted to use gimp-vectors-stroke-new-from-points to create a
triangle-shaped stroke but every time I use it in the console or my script, it
fails giving me this message: 

Error: Procedure execution of gimp-vectors-stroke-new-from-points failed 

I first use:
(gimp-vectors-new 1 "vector-one")

where "1" represents the image's value

Then I use:
(gimp-vectors-stroke-new-from-points 1037 0 3 #( 1000 0 1000 207 854 146 )
TRUE)

where 1037 is the image,
0 is the stroke type
3 is the number of points
#(...) are the values of the x and y coordinates of the 3 points
and TRUE means the stroke is closed

I am still sort of new to script-fu.

-- 
Greg Schwartz (via www.gimpusers.com)
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux