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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Rotated Layer moving funny

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
zerob Posted - Apr 28 2020 : 09:12:43
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
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 01 2020 : 21:04:32
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
zerob Posted - May 01 2020 : 02:40:58
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.
zerob Posted - May 01 2020 : 02:37:48
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 :-)
xequte Posted - Apr 30 2020 : 17:38:50
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