On Friday 28 April 2006 05:15 am, Simon Budig wrote:
> [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> > I am trying to determine a way to transform (scale, rotate, etc)
> > a path using PDB functions. This would be similar to the way the
> > various Transform Tools permit the selection of the "Affect"
> > option.
> >
> > At a minimum, I should like to perform a simple X-Y scaling of a
> > path; so as an alternate solution, is it reasonable to just apply
> > a scale factor to all of the path points to achieve this? Or does
> > this not work with Bezier curves?
>
> In current development versions there is a new PDB API for paths
> that includes the function gimp-vectors-stroke-scale() that does
> what you want to do. Hmm. Come to think of it I probably also
> should add gimp-vectors-scale for convenience. Not sure.
>
> However in 2.2 this is not possible. Sorry...
>
> I hope this helps,
>        Simon

Hi Simon!

I am in a hurry here, but I guess it should be possible to transform 
any path with any transform using the PDB. I f it is not in place, we 
should do that for 2.4.  How is it today?

Saul, 

as for what you need, I have some python routines that can do that. 
GIMP-Python does not work under window for gimp-2.2 - but I will mail 
you the relevant script just in case you are under GNU/Linux or some 
*BSD.

Regards,
        JS
        -><-


_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to