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
 Identify center of crop box
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

John

USA
94 Posts

Posted - Feb 18 2015 :  07:22:42  Show Profile  Reply
Hello

When cropping, the ImageEnView.SelectionAspectRaio will maintain the aspect ratio of the crop box. Is there a mechanism to display the center of the crop box while cropping an image and thus improve usability by identifying the center of the area to be cropped?

Ideally, horizontal and vertical lines could join the sides of the crop box at their centers. The point where the two lines crossed would identify the center of the crop box and at the same time the 4 quadrants of the crop box would be identified.


TIA

John

w2m

USA
1990 Posts

Posted - Feb 18 2015 :  07:26:13  Show Profile  Reply
The is no built in provision to show the center of the selection. You may be able to achieve this by drawing the lines in the DrawBackbuffer event, but it will not be simple.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

xequte

38615 Posts

Posted - Feb 18 2015 :  21:58:01  Show Profile  Reply
Hi John

In the next release, if SelectionOptions includes iesoShowCenter, then a small cross will indicate the center of the selection (only while selection is in progress).

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

John

USA
94 Posts

Posted - Feb 18 2015 :  22:03:17  Show Profile  Reply
Nigel

This will be great.

Thanks

John
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: