Hello! I neeed help with the gimp-pencil function of Script-fu

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

 



Hi!

I hope I found the right e-mail to ask. I've got just one question so I don't want to register on forums, maybe you could help me.

I'm writing a script on Script-fu for GIMP. There is this line in my code:

(gimp-pencil draw 2 #(500 1600))

It draws one small dot and does it well. But when I write it this way:

(gimp-pencil draw 2 #(s1x s2x))

... it returns error: "Error: Item 1 in vector is not a number (argument 3 for function gimp-pencil) #(s1x s2x) "

The variables themselves are passed to the script correctly, they took part in calculations before that line and gave the correct result, so I'm sure, that GIMP treats s1x and s2x as numbers.

So what am I doing wrong?


Tony.
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[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