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
 Force circle vector drawing
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jonjon

3 Posts

Posted - Mar 10 2014 :  09:39:07  Show Profile  Reply
In a TImageEnVect, how to force circle drawing (and not an ellipse) when MouseInteractVt := [miPutEllipse] without having to use the CTRL keyboard shortcut ?

Thanks.

jonjon

3 Posts

Posted - Mar 10 2014 :  10:16:29  Show Profile  Reply
Here is what I found so far to restrict to a circle when created and when resizing:

OnNewObject =>
imgEditor.ObjAspectRatio[hobj] := true;
imgEditor.ObjHeight[hobj] := imgEditor.ObjWidth[hobj];

However, I'm still stuck when MouseInteractVt = [miPutEllipse] which will always draw an ellipse except if the user hits the CTRL keyboard shortcut.
Go to Top of Page

xequte

38611 Posts

Posted - Mar 12 2014 :  16:34:49  Show Profile  Reply
Hi

We'll have a way to handle this in code for v5.0.7. Let me investigate and come back to you.



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

jonjon

3 Posts

Posted - Mar 14 2014 :  06:53:10  Show Profile  Reply
OK then. I will wait for v5.0.7.
Do you have any estimate on release date ?
Thanks.
Go to Top of Page

xequte

38611 Posts

Posted - Mar 17 2014 :  17:23:54  Show Profile  Reply
Hi

It will be ready within a week. You will be able to use ImageEnVect1.ForceAltKey to force a circle with miPutEllipse (or square with miPutBox, fixed angle with miPutLine, etc).



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