Earboth made some valid points in this thread:
You have not yet addressed these points.
Earboth made some valid points in this thread:
You have not yet addressed these points.
In that rectangle I know width ,height and rectangle start X and start y. suppose , If I put a line in the center of the rectangle( parallel to the x axis)
then angle of that line is 0. and how we calculate x1, y1 and x2, y2 using formulas( directly we can tell x and y llike this --- x1 is startx , y1 is starty + height/2 and x2 is startx+ width and y2 is start y + height/2) I dont want that one. using formula how we calculate.