Hello,

I have got an square image with a point specified by the user(not neccessary to be in the centre).

I want my program to draw a line or vector from that point to the boundary of the image.

Then, I want to draw the same vector again and again in a circular motion until reaching the first vector again.

So, to make it more clear, I want these vectors to be drawn equally spaced from each other.

So, I thought about applying rotation on the first vector. say, for example, for every 10 degrees draw a vector.

So at the end i want to have a center point with vectors around it drawn in equally space.

How can I apply this in C++ ?

is there a better way to do this this other than rotation and angles?

I will really appreciate your help.

hope you can help me as soon as possible.

Thanks.

Jowana .