Re: [Gimp-developer] Sample points

It would be straightforward to add that functionality, though.  All that
would be needed is to add a function gimp_image_get_sample_points_invoker()
to app/pdb/image-cmds.c, which would call gimp_image_get_sample_points(),
and then glue it to a procedure called gimp-image-get-sample-points.  That
would be a good exercise for a developer who wants to gain familiarity with
the pdb.  (It would also be necessary to add documentation, of course.)


On Sun, Mar 8, 2015 at 6:56 AM, Ofnuts <ofnuts gmx com> wrote:

On 08/03/15 09:42, Kevin Payne wrote:

Is is possible to access the position of the sample points from within a
script? I can't find any reference to them in the Procedure browser.

No way AFAIK. Scripts that require image coordinates usually ask the user
to draw a path and use the path anchor coordinates.

gimp-developer-list mailing list
List address:    gimp-developer-list gnome org
List membership:
List archives:

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