Re: [Gimp-developer] Shifting rotation grid with center of rotation: need help/feedback

2009-04-07 Thread Omari Stephens
gg wrote: Omari Stephens wrote: Hi, all I'm working on a patch which shifts the rotation grid so that a grid intersection always falls on the center of rotation. The simple use-case for this functionality is when doing a corrective rotation in a photo with a clear horizontal or vertical

Re: [Gimp-developer] Shifting rotation grid with center of rotation: need help/feedback

2009-04-06 Thread gg
Omari Stephens wrote: Hi, all I'm working on a patch which shifts the rotation grid so that a grid intersection always falls on the center of rotation. The simple use-case for this functionality is when doing a corrective rotation in a photo with a clear horizontal or vertical object.

Re: [Gimp-developer] Shifting rotation grid with center of rotation: need help/feedback

2009-04-06 Thread Martin Nordholts
Omari Stephens wrote: Hi, all I'm working on a patch which shifts the rotation grid so that a grid intersection always falls on the center of rotation. Hi! Here is my initial feedback on the patch: - k = tr_tool-ngx + tr_tool-ngy; + k = tr_tool-ngx + 2 + tr_tool-ngy + 2;