This is what I do, but I was thinking it would be a nice addition to DrawObject.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: 13. juli 2007 16:57 To: Dabo Users list Subject: Re: [dabo-users] Text DrawObject.Width 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 [excessive quoting removed by server] _______________________________________________ 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]
