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
 Draw Angle
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

John

USA
94 Posts

Posted - Jan 30 2012 :  13:41:17  Show Profile  Reply
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

fab

1310 Posts

Posted - Jan 30 2012 :  15:32:44  Show Profile  Reply
Hello,
I'm sorry, it is not possible to create an angle in code.
Go to Top of Page

John

USA
94 Posts

Posted - Jan 30 2012 :  15:37:08  Show Profile  Reply
Fabrizio

Would you consider adding this procedure in a future release?

TIA

John
Go to Top of Page

fab

1310 Posts

Posted - Jan 30 2012 :  15:42:42  Show Profile  Reply
John,
yes, it could be added in a future release, it is too late for the 4.1...:-(
Go to Top of Page

John

USA
94 Posts

Posted - Jan 31 2012 :  08:05:49  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: