
Tk::PhotoRotateSimple - rotate Photos by 90 degrees.

$photo->rotate_simple(direction, [update]);

Tk::PhotoRotateSimple is a Photo method that either flips an image 180 degress, or rotates it 90 degrees clockwise or 90 degrees anti-clockwise.
Algorithm from img_rotate.tcl by Ryan Casey.

The following option/value pairs are supported:
direction can be flip, l90 or r90, for a 180 degree, 90 degree anti-clockwise, or 90 degree clockwise rotation, respectively.
update is an optional boolean parameter. If TRUE, then idletasks() is called to update the image as it's being rotated.

$photo->rotate_simple('l90');

Stephen.O.Lidie@Lehigh.EDU
Copyright (C) 2001 - 2003, Steve Lidie. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Photo, rotate