Re: [Gimp-developer] Fw: Hello! I neeed help with the gimp-pencil function of Script-fu
- From: Kevin Cozens <kevin ve3syb ca>
- To: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Fw: Hello! I neeed help with the gimp-pencil function of Script-fu
- Date: Wed, 26 Oct 2022 01:23:54 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]