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
 Rotate layers with bitmap

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
JonMRobertson Posted - Aug 17 2023 : 07:48:31
Consider a TImageEnView with a bitmap and one or more layers. When rotating or flipping the bitmap, is there an easy way to affect the layers so that they appear in the same position on the bitmap after the rotate/flip? When rotating, the layer would be rotated as well as moved.

I tried TLayer.LayersFixRotations (actually loAutoFixRotation) but that does not accomplish what I need.

Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 17 2023 : 20:16:01
Hi Jon

Sorry, there is not an easy way to handle that at this time. You would need to iterate through the layers and update the position relative to the image center.

Please see the example at:

http://www.imageen.com/help/TImageEnView.LayersCount.html



Nigel
Xequte Software
www.imageen.com