On Jul 13, 2007, at 10:51 AM, Simen Haugen wrote:
> I need rotating on a polygon. See my other post for the function I'm
> using for rotating.
OIC. Since the post you responded to mentioned arcs and ellipses, I
didn't make that connection.
So you want to rotate a set of vertices around a given point? Since
you already have the function, why not do something like this?
poly = self.drawPolygon(pts, ...)
...
# Then when you want to rotate:
poly.Points = myRotateFunction(poly.Points, angle, center, ...)
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]