$acnv->rotate(TagOrID, angle ?,x, y?)
This method rotates the object identified by TagOrID by angle. The ang+le is specified in degrees. If an x, y coordinate is specified, then +the object is rotated about that point. Otherwise, the object is rota+ted about its center point, if that can be determined.

As it stands, the module can only rotate the following object types ab+out their centers:
Lines
Polygons
Rectangles (if rectToPoly(1) is called)
Ovals (if ovalToPoly(1) is called)
All other object types (bitmap, image, arc, text, && window) can only +be rotated about another point. A warning is issued if the user tries+ to rotate one of these object types about their center. Hopefully, m+ore types will be able to center-rotate in the future.

Sorry for that...actually this snippet is part of a code where the $x and $y comes from a file ( i just pasted it and forgot to change it...perhaps it would be 0,0 or something but it is optional as the subroutine says..).

But even after altering and applying the changes it wont work...can you edit this code suitably so that it is rotated by a supplied angle...waiting eagerly for some help...