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
 How to draw dots around selection?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Dec 11 2019 :  07:08:26  Show Profile  Reply
Hello,

I am selecting the content of a layer using SelectNonAlpha.

Once the contents are selected I want to draw dot around selection on Layer 0.

How can we do this?

TIA


Yogi Yang

xequte

38179 Posts

Posted - Dec 11 2019 :  12:39:47  Show Profile  Reply
Hi Yogi

I'm out of the office for a few weeks, so can't give you the precise code, but the process would involve probably involve converting the selection to a polyline layer.

https://www.imageen.com/help/TImageEnView.LayersCreatePolylineFromSelection.html

You could then merge that polyline onto the background layer.


Please take a look at the demo:

Demos\LayerEditing/MagicFillToPolygon\Magic2Polygon.dpr

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