I did not mistype 3, since given 3 of the 4 coordinates of a rectangle, the 4th can be derived. However, let me propose the simpler question - can ImageEn draw an ellipse in code given 4 points?
I am hopeful that this is possible given that: a) ImageEn already has the capability to draw an ellipse as an annotation at run time.
b) The ellipse is drawn on a rectangular background that displays the 4 points representing the corners of the rectangular background.
c) The annotation background also displays the four points of the ellipse representing the intersection of the sides of the ellipse with a Cartesian axis.
Which of these two 4 point groups would be utilized in the drawing function is another question
I will have the four points of the ellipse representing the intersection of the sides of the ellipse with a Cartesian axis.
I envision the process as follows:
a) The user will place 2 small landmark/ellipse annotations (similar to the imageEn marker demo) on the vector canvas. These will identify one axis of the ellipse that is to be drawn.
b) A third annotation marker will be placed to identify one end of the second axis of the ellipse to be drawn.
c) The fourth point will be derived by calculating a perpendicular line from the third annotation marker to the first axis and extending it an equal distance on the opposite side of first axis.
d) I would then feed these four coordinates to ImageEn to draw the ellipse represented by the coordinates.