NAME
Tk::PhotoRotateSimple - rotate Photos by 90 degrees.
SYNOPSIS
$photo->rotate_simple(direction, [update]);
DESCRIPTION
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.
OPTIONS
The following option/value pairs are supported:
- direction
-
direction can be flip, l90 or r90, for a 180 degree, 90 degree anti-clockwise, or 90 degree clockwise rotation, respectively.
- update
-
update is an optional boolean parameter. If TRUE, then idletasks() is called to update the image as it's being rotated.
EXAMPLE
$photo->rotate_simple('l90');
AUTHOR
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.
KEYWORDS
Photo, rotate
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 93:
You forgot a '=back' before '=head1'