I have a iprimitive set up to place a text node and it has a call out box around it. I have coded it to check in the dynamcs event if the cursor is on the right side of left side of a point to figure out the justification needed. which works great. but im not trying to update the code to work with rotated views. while I have all the code to rotate everything correctly im struggling with how to tell if the cursor is on the left or right side when the view is rotated. the screen shot below shows the elements. the first click would be at the start of the call out (the bottom point in the green block). then the polygon and text elements are dynamically displayed off the cursor position (the top right point) one the cursor moves to the left of the startof the call out point(the bottom point in the green block) then it switches the justification like the second picture shows.
im just check the x values of the two points to tell if its on the left or right side but that doesn't work in a rotated view.
anyone got any advice or functions that could lead me to a solution.
thanks