Package: gtk

Function gtk:snapshot-rotate

Lambda List

gtk:snapshot-rotate (snapshot angle)

Arguments

snapshot -- a gtk:snapshot object
angle -- a number coerced to a single float for the rotation angle, in degrees (clockwise)

Details

Rotates the coordinate system of the snapshot by angle degrees in 2D space - or in 3D speak, rotates around the Z axis. The rotation happens around the origin point of (0,0) in the current coordinate system of the snapshot.

To rotate around axes other than the Z axis, use the gsk:transform-rotate-3d function.
 

See also

2025-2-12