• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

how tomove image in a circle

I would like to know how you move an image in a circle.
0
thomasnolan
Asked:
thomasnolan
1 Solution
 
SimesACommented:

for position := 1 to 360 do begin
  x := cos(DegToRad(position)) * Radius + CentreX;
  y := sin(DegToRad(position)) * Radius + CentreY;
end;
0
 
CleanupPingCommented:
thomasnolan:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now