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
 Draw something without affecting the image
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Aug 23 2018 :  01:31:31  Show Profile  Reply
Hello,

Sorry for posting so many request but I am stuck and am looking for solutions.

I have a need to draw outline/stroke around irregular shape selection.

But the drawn line should not damage the actual layer and its content. Meaning if the user after applying a stroke to a irregular shape selection decides to remove it or change its color it should be possible.

According to my understanding this is only possible if we can draw either on another layer (which means the user will have to deal with one more layer) or is there some way by which we can draw on some kind of a buffer which stays with the layer but does not affect the original image on the layer.

Here I am saying layer because user can apply many different strokes to irregular shape selection on more than one layer.

TIA


Yogi Yang

xequte

38219 Posts

Posted - Aug 23 2018 :  20:00:14  Show Profile  Reply
Hi Yogi

Sorry, I'm not understanding your reasoning for not using a polyline layer.

If you set:

ImageEnView1.MouseInteract := [ miDrawCreatePolylineLayers ];

Then you can draw an irregular shape over all layers.


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: