09-14-2023, 11:01 PM
Guys I thank for all your answers!
I found that changing "
To:
Helps. I don't know why.
I don't think that this is a Scheme problem. This is problem with incomplete documentation of API, and this is problem shared with Python-Fu. In fact, I toy with though of writing myself short tutorial because I figured already some stuff that is not documented.
And I have experience with many languages, including Python and Scheme, and I selected Scheme because Python-Fu has even less documentation than Script-Fu.
Gimp 2.1x use GTK 2.0 that is no longer maintained. It has problems with handling never tablet drivers.
Quote:
I dearly hate script-fu.... this said when I look for example on the internet, most allocate arrays and plug values in it:
Code:
(let *
(
(points (cons-array 4 'double))
(ax 100)
(ay 100)
(bx 300)
(by 300)
)
(aset points 0 ax)
(aset points 1 ay)
(aset points 2 bx)
(aset points 3 by)
(gimp-paintbrush-default layerId 4 points)
)
I found that changing "
Code:
'#(0 0 area-width area-height)
To:
Code:
(vector 0 0 area-width area-height)
Helps. I don't know why.
Quote:You understand why I use Python...
I don't think that this is a Scheme problem. This is problem with incomplete documentation of API, and this is problem shared with Python-Fu. In fact, I toy with though of writing myself short tutorial because I figured already some stuff that is not documented.
And I have experience with many languages, including Python and Scheme, and I selected Scheme because Python-Fu has even less documentation than Script-Fu.
Quote:I would suggest that expecting anything to work on any particular instance of 2.99 is not a good idea.
Refreshing scripts is broken, and probably won't be fixed: https://gitlab.gnome.org/GNOME/gimp/-/issues/7445
Gimp 2.1x use GTK 2.0 that is no longer maintained. It has problems with handling never tablet drivers.