ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Force circle vector drawing

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jonjon Posted - Mar 10 2014 : 09:39:07
In a TImageEnVect, how to force circle drawing (and not an ellipse) when MouseInteractVt := [miPutEllipse] without having to use the CTRL keyboard shortcut ?

Thanks.
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 17 2014 : 17:23:54
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
jonjon Posted - Mar 14 2014 : 06:53:10
OK then. I will wait for v5.0.7.
Do you have any estimate on release date ?
Thanks.
xequte Posted - Mar 12 2014 : 16:34:49
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
jonjon Posted - Mar 10 2014 : 10:16:29
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.