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
 Layers displaying through selection

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
AndyColmes Posted - Jun 13 2014 : 16:10:02
I have 3 layers in a TImageEnVect. I would like to make a selection and then allow which layer to "show through" the selection, like a cutout hole. How would I do this efficiently?

Thanks in advance.

Andy
2   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 16 2014 : 16:15:50
Hi Andy

You can use SelCutToClip to remove the selection of a layer, but at this stage it does not revert the cut section to alpha.

In the next release we will had a "CutAlpha" parameter, so you can call it as follows:

ImageEnView1.Proc.SelCutToClip(true, true);

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Jun 13 2014 : 16:43:17
Unfortunately, this may not be possible. The layer that shows is the topmost layer, so just by making a selection will not achieve what you are looking for.

Nigel may have an idea for this, but I suspect it is just not possible to achieve.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development