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 or resized layers
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

spetric

Croatia
308 Posts

Posted - Dec 17 2013 :  12:16:18  Show Profile  Reply
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.

w2m

USA
1990 Posts

Posted - Dec 17 2013 :  12:41:18  Show Profile  Reply
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
Go to Top of Page

spetric

Croatia
308 Posts

Posted - Dec 17 2013 :  13:08:18  Show Profile  Reply
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.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: