Author |
Topic  |
|
John
 
USA
94 Posts |
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
|
|
fab
   
1310 Posts |
Posted - Jan 30 2012 : 15:32:44
|
Hello, I'm sorry, it is not possible to create an angle in code.
|
 |
|
John
 
USA
94 Posts |
Posted - Jan 30 2012 : 15:37:08
|
Fabrizio
Would you consider adding this procedure in a future release?
TIA
John
|
 |
|
fab
   
1310 Posts |
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
 
USA
94 Posts |
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 |
 |
|
|
Topic  |
|
|
|