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

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

 



On 2022-10-25 23:03, Shlomi Fish wrote:
Hi again. It didn't work. Says Error: Invalid type for argument 3 to
gimp-pencil

вт, 25.10.2022 19:53, Shlomi Fish пишет:
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) "
[snip]
So what am I doing wrong?
use:

(list s1x s2x)

The # indicates a vector, not a list.

(list->vector (list s1x s2x))

--
Cheers!

Kevin.

http://www.ve3syb.ca/               | "Nerds make the shiny things that
https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
                                    | that's why we're powerful"
Owner of Elecraft K2 #2172          |
#include <disclaimer/favourite>     |             --Chris Hardwick

_______________________________________________
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