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
 Draw something without affecting the image

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 - Aug 23 2018 : 01:31:31
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 23 2018 : 20:00:14
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