When I was programming a rotation event for a game,
I discovered that when I tell PowerDraw to rotate an image
90 degrees, the result is an image that is rotated approximately 30 degrees.
I have a simple (Delphi) function to solve this.
I hope this makes the implementation of the rotation feature of PowerDraw easier.Code:function DegToPower(Angle: Real): Extended; begin Result := (Angle / 360) * 256; end;
Bookmarks