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.)

Bill

On Sun, Mar 8, 2015 at 6:56 AM, Ofnuts <[email protected]> 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:    [email protected]
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-
> developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list
>
_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list

Reply via email to