rotate
Returns a pixmap rotated by a given angle.
Syntax
-
rotate(pm, α)-
pmis a pixmap -
αis a real number
-
Description
rotate(pm, α) returns pm rotated α radians in the positive (anticlockwise) direction.
Examples
rotate(ExampleData("rabbit"), π/4)
