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
 Provide a callback to allow custom drawing of the selection/cropping
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jiang_jiji

China
4 Posts

Posted - Mar 31 2026 :  04:49:41  Show Profile  Reply
I'm currently building an image editing application similar to https://www.canva.com

If I want to customize the selection/cropping effect, I have to modify the source code directly, which is not convenient for future updates or maintaining software.

Could you consider providing a callback function to allow custom rendering of the selection/cropping effect?

For example, something like this:

TIECropToolInteraction.OnBeforePaintBackBuffer
TIECropToolInteraction.OnPaintBackBuffer


Selection Effect:


Crop Effect:

xequte

39364 Posts

Posted - Mar 31 2026 :  19:21:03  Show Profile  Reply
Hi

We could add before and after paint items to the OnUserInteraction event:

http://www.imageen.com/help/TImageEnView.OnUserInteraction.html

Would that work?


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