CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Line rotation

  1. #1
    Join Date
    Dec 2007
    Posts
    5

    Question Line rotation

    hi
    i want to rotate a line in clockwise direction in VC++
    please help me.

    Thanks
    simi

  2. #2
    Join Date
    Jun 2008
    Posts
    2

    Re: Line rotation

    Depends on how you are defining your line. Depends on how you are drawing your line...

    I would suggest defining a start point and an angle of rotation, and then calculating the second point based on that angle. Then you would just need to decrement the angle to make the line rotate...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured