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
 Want to set the layers in proper manner on resize

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
yogiyang Posted - Jun 18 2019 : 07:17:33
Hello,

I have three Layers selected (I am showing resize handles on the Main Layer only):
1. Main Layer (photo)
2. Mask Layer applied to 1
3. Layer which is filled with color and is placed under 1

This is how it looks:



After I resize the selected layers the arrangement of 3rd and 1st layers is getting mis aligned and is looking bad.

This is how it looks:



Where should I program to rearrange the 3rd and 1st layers?

TIA


Yogi Yang
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 20 2019 : 02:19:48
Hi Yogi

Then, in the OnLayersNotifyEx event you might need to check for ielResizing and update PosX and PosY for the layers that are Selected but not the current layer (LayersCurrent).



Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jun 20 2019 : 00:08:02
Hello,

 
Why not enable a red border for your image layer instead?

Actually this is not possible as the layer under the Main Layer can also be a gradient or can also be loaded from a PNG file.

TIA


Yogi Yang
xequte Posted - Jun 19 2019 : 19:58:15
Hi Yogi

This is expected behavior. If you drag items from the top-right grip they will enlarge, but the bottom-left grip will not move. Unfortunately there is not a way to keep some layers centered while sizing (it is not a bad idea, but I cannot think of a way the functionality could be presented to the user).

Why not enable a red border for your image layer instead?

Nigel
Xequte Software
www.imageen.com