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 |
|
|