<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually I kind of liked it that way as the cropped area does stay<br>
exactly where it was and it doesn't jump to a centered position.<br></blockquote><div><br>Yes, I like that too... I'm not sure I can tell right know how it can be done easily. It will probably demand a bit of changes to the set of image signals, KisSignalVector, KisSignalsRouter and the KisProcessingApplicator classes. The problem is the signals emitted by the processing applicator cannot have a parameter (they are effectively a vector of enums). This should be solved somehow. <br>
<br>Probably, we should emit some signal like:<br><br>void sigImageSizeChanged(QRectF oldImageRect)<br><br>where \p oldImageRect would show which rect in new image pixels is occupied by the old image.<br><br>For example:<br>
1) Old Image: 300x300<br>2) We crop it by 100,100 200x200<br>3) Then oldImageRect would be -100,-100 300x300. <br><br>The problem is, I cannot tell what the oldImageRect value should be when we rotate or shear the image...<br>
<br>What do you think of such interface?<br> </div></div>-- <br>Dmitry Kazakov