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
 Selection Anti-aliasing
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yssoft

1 Posts

Posted - Dec 09 2011 :  11:28:23  Show Profile  Reply
Hi,
Which way can i do selection Anti-aliasing when i select by miSelectPolygon or miSelectCircle and miSelectLasso?

Thanks.

fab

1310 Posts

Posted - Dec 09 2011 :  11:43:43  Show Profile  Reply
There isn't a method to make selection antialiased.
Anyway you can smooth the selection setting:

// set selection depth=8 (8 bit) instead of 1
ImageEnView.SelectionMaskDepth := 8;

// now make a selection (here a rectangle in code)
ImageEnView.Select( 10,10, 100,100 );

// now make the selection feathered
ImageEnView.MakeSelectionFeather( 4 );


However this is not exactly an antialias, but can help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: