Re: [Gimp-developer] gimp_patterns_get_list

2008-03-12 Thread Andrei Simion
Thanks everybody for the answers. Andrei Sven Neumann wrote: Hi, On Mon, 2008-03-10 at 22:54 -0700, Bill Skaggs wrote: It's all at: http://developer.gimp.org/api/2.0/libgimp/index.html Please note that this is the API for plug-ins written in C. If you are accessing the PDB directly

Re: [Gimp-developer] gimp_patterns_get_list

2008-03-12 Thread Andrei Simion
I checked in the procedure browser for gimp_patterns_get_list and found it is not supposed to get any compulsory parameters. There is an optional parameter, a regular expression string. If the optional parameter is not provided, then no pattern is returned in the array. I passed the empty

Re: [Gimp-developer] gimp_patterns_get_list

2008-03-12 Thread Andrei Simion
The pattern descriptions I get from gimp_patterns_get_list are different from what I used in version 1.2. Now I am using ver 2.2 of Gimp. The pattern descriptions I am using are like this: 't-12'. The new descriptions are in plain English: 'Crack', 'Paper' ... I would need a mapping between

Re: [Gimp-developer] gimp_patterns_get_list

2008-03-11 Thread David Gowers
On Tue, Mar 11, 2008 at 2:04 PM, Andrei Simion [EMAIL PROTECTED] wrote: Hi, I have the following problem: when calling gimp_patterns_get_list on the Gimp server, version 2.2 I got an error: not enough arguments for function 'gimp_patterns_get_list' The function works on the Gimp

Re: [Gimp-developer] gimp_patterns_get_list

2008-03-11 Thread Bill Skaggs
On Mon, Mar 10, 2008 at 8:34 PM, Andrei Simion [EMAIL PROTECTED] wrote: Can somebody point to the list of functions that can be used on Gimp 2.2? It's all at: http://developer.gimp.org/api/2.0/libgimp/index.html The API for existing functions does not change within the 2.x releases.

Re: [Gimp-developer] gimp_patterns_get_list

2008-03-11 Thread Sven Neumann
Hi, On Mon, 2008-03-10 at 22:54 -0700, Bill Skaggs wrote: It's all at: http://developer.gimp.org/api/2.0/libgimp/index.html Please note that this is the API for plug-ins written in C. If you are accessing the PDB directly or by means of another language binding, there are (sometimes subtle)

[Gimp-developer] gimp_patterns_get_list

2008-03-10 Thread Andrei Simion
Hi, I have the following problem: when calling gimp_patterns_get_list on the Gimp server, version 2.2 I got an error: not enough arguments for function 'gimp_patterns_get_list' The function works on the Gimp server, version 1.2. I checked here: http://hans.breuer.org/gimp/pdb/alphabetic.html