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
 Draw Angle

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
John Posted - Jan 30 2012 : 13:41:17
Hello

Delphi XE, Windows7 64bit, ImageEn 4.0.2

The question is how to draw an angle in code, if the coordinates for the three points of the angle are supplied?

I can draw a ruler line with the code below, but the AddNewObject procedure does not allow for the entry of three points only two. Interestingly, if the code below is executed with only the coordinates for two points entered, a single line is draw and an angle measurement is given. However, I suspect that since only one line is drawn, the angle measurement would appear to be erroneous.

ImageEnVect1.AddNewObject(iekRULER, Rect(AX, AY, BX, BY), clRed);

TIA

John

4   L A T E S T    R E P L I E S    (Newest First)
John Posted - Jan 31 2012 : 08:05:49
Fabrizio

I would greatly appreciate this.

In a related scenario, would you also consider creating a procedure to do the following: Defining the acute ange of intersection between two converging lines where the coordinate points of the two lines are supplied.

John
fab Posted - Jan 30 2012 : 15:42:42
John,
yes, it could be added in a future release, it is too late for the 4.1...:-(
John Posted - Jan 30 2012 : 15:37:08
Fabrizio

Would you consider adding this procedure in a future release?

TIA

John
fab Posted - Jan 30 2012 : 15:32:44
Hello,
I'm sorry, it is not possible to create an angle in code.