ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Rotated Layer moving funny
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

zerob

198 Posts

Posted - Apr 28 2020 :  09:12:43  Show Profile  Reply
If i rotate a layer and then resize it, the whole layer moves around instead of staying at position and just resizing.

On the video you first see sizing as it should behave (it isn't rotated and stays at the location).

After that, you see how the layer is moving around all over the place when trying to resize while it is rotated.


attach/zerob/202042891142_rotateresize_400.zip
3813.08 KB

xequte

39141 Posts

Posted - Apr 30 2020 :  17:38:50  Show Profile  Reply
Hi

Thanks for the report. By design, it is attempting to maintain the position of the opposite point to where it is being dragged (not the top corner). But I agree, it does not look good the way it performs and we will investigate.



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

zerob

198 Posts

Posted - May 01 2020 :  02:37:48  Show Profile  Reply
It would be nice if it would stick to the position and just resize as needed.
The way it works right now makes it really useless for certain things like image composition or designing tasks.
When the image jumps around and moves and resizes uncontrollably, it makes it too hard if not impossible to do some layer works like in photoshop (Placing, resizing and moving images and layers exactly)

Thanks for investigating :-)
Go to Top of Page

zerob

198 Posts

Posted - May 01 2020 :  02:40:58  Show Profile  Reply
Maybe if you fixate all points and only move the grabbed point to the mouse instead of letting al 4 points of the image jump around wildly according to some calculation it does in the background.
Go to Top of Page

xequte

39141 Posts

Posted - May 01 2020 :  21:04:32  Show Profile  Reply
Hi

It's not quite that simple, when an image layer is rotated, the origin point (i.e. the top left of the box that contains the rotated layer) is not visible. The points that you see onscreen are all calculated. If you drag the right-hand side of a layer that is rotated slightly anti-clockwise, then we must move the top-left origin, otherwise the image will actually move down as we size it.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: