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