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
 Layers displaying through selection
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

AndyColmes

USA
351 Posts

Posted - Jun 13 2014 :  16:10:02  Show Profile  Reply
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

w2m

USA
1990 Posts

Posted - Jun 13 2014 :  16:43:17  Show Profile  Reply
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
Go to Top of Page

xequte

39053 Posts

Posted - Jun 16 2014 :  16:15:50  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: