Qt Labs Forum » General discussions

Rotating polygon

(1 post)
  • Started 2 months ago by navi1084

  1. navi1084
    navi1084
    Member

    Hi,
    I have created a polygon in my Widget. When I increment the angle i am rotating the polygon using QMatrix. While rotation the polygon co-ordinates doesn't change. i.e. i can see rotating polygon in the screen, but the co-ordinates of the polygon variable and co-ordinate of the rotated polygon which appears in the screen is different.
    So my question is how can i get rotated polygon's co-ordinates ???

    Thanks

    Posted: 2 months #

RSS feed for this topic

Reply

You must log in to post.



© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.