Re: Rotation command in PDB

2000-04-24 Thread Sven Neumann
Hi, > OK, here's my first cut at a PDB general 2d transform. It provides > rotation, scaling (with separate x and y factors), and translation. > General enough to be useful, but still easier to use than a full > perspective operation. > > Sorry, not in patch format; but it all goes in tool_cmds.

Re: Rotation command in PDB

2000-04-24 Thread David Hodson
OK, here's my first cut at a PDB general 2d transform. It provides rotation, scaling (with separate x and y factors), and translation. General enough to be useful, but still easier to use than a full perspective operation. Sorry, not in patch format; but it all goes in tool_cmds.c, declaration an

Re: Rotation command in PDB

2000-04-22 Thread Steinar H. Gunderson
On Sun, Apr 23, 2000 at 12:57:57PM +1000, David Hodson wrote: >Instead of just augmenting rotation, why not >provide a 2D transform, with rotate, scale, and shift in a single op? Hmmm... That wouldn't be too stupid... Isn't this where all the nice matrix multiplication maths comes in and helps us

Re: Rotation command in PDB

2000-04-22 Thread David Hodson
Michael Lee wrote: > The current gimp_rotate procedure does not allow for rotation around an > arbitrary point even though its code is quite capable of it. It just selects > the center of the image and uses that as the rotation origin. I added a > gimp_rotate_around_point procedure and use it i

Rotation command in PDB

2000-04-11 Thread Michael Lee
The current gimp_rotate procedure does not allow for rotation around an arbitrary point even though its code is quite capable of it. It just selects the center of the image and uses that as the rotation origin. I added a gimp_rotate_around_point procedure and use it in all the scripts I'm writin