[Gimp-developer] need help with script-fu vector creation
Greg Schwartz
forums at gimpusers.com
Fri Jun 5 14:29:07 PDT 2009
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)
More information about the Gimp-developer
mailing list