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
 TIEFillToolInteraction.SampleSize
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Dec 17 2021 :  09:14:30  Show Profile  Reply
Has the TIEFillToolInteraction.SampleSize shape a circular or rectangular form?

The reason why I am asking: When setting the value of:
ImageEnView1.FillTool.SampleSize

...I would like to show the user a magnified preview of the sample area from the mouse position.

Is there a built-in feature to achieve this?

Or do I have to manually BITBLT the accordingly sized screen area from the mouse position to an image control in the UI?

xequte

38615 Posts

Posted - Dec 18 2021 :  19:46:07  Show Profile  Reply
Hi Peter

It is rectangular, but we could surface an option to make it elliptical if you need it.

You can use just use one of the bitmap drawing methods to output a preview:

https://www.imageen.com/help/TIEBitmap.DrawToCanvas.html


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