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 or resized layers

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
spetric Posted - Dec 17 2013 : 12:16:18
Is there any "indicator" if some layer has been rotated or resized?
It would be very handy for fixing layers in the loop.

Currently, I'm using UserData to store this information and I'm updating UserData whenewer LayerNotify event is fired.
But, if there is another, simpler solution, it would be nice.
2   L A T E S T    R E P L I E S    (Newest First)
spetric Posted - Dec 17 2013 : 13:08:18
Thank you William, for your fast reply.

I'm actually using UserData to store one BYTE that has value 0x00 at the moment of layer's creation. In LayerNotify event, if layer was resized, I OR it with 0x01, and if it was rotated with 0x10. Currently I'm not using UserData for anything else, but if I need it for something else, things will complicate a bit, so I thought there was a better solution. Thanks again.

w2m Posted - Dec 17 2013 : 12:41:18
As far as I know there is no internal function to know if a layer has been rotated or resized. Your approach may be the best way to do this.

William Miller