Commit | Line | Data |
896b04ee |
1 | =pod |
2 | |
3 | |
4 | |
5 | =head1 NAME |
6 | |
7 | SDL::Tool::Graphic |
8 | |
9 | =head1 DESCRIPTION |
10 | |
11 | L<SDL::Tool::Graphic> is a module for zooming and rotating L<SDL::Surface> objects. |
12 | |
13 | =head1 METHODS |
14 | |
15 | =head2 zoom ( surface, xzoom, yzoom, smooth ) |
16 | |
17 | C<SDL::Tool::Graphic::zoom> scales a L<SDL::Surface> along the two axis independently. |
18 | |
19 | =head2 rotoZoom ( surface, angle, zoom, smooth ) |
20 | |
21 | C<SDL::Tool::Graphic::rotoZoom> rotates and fixed axis zooms a L<SDL::Surface>. |
22 | |
23 | =head2 grayScale ( surface ) |
24 | |
25 | C<SDL::Tool::Graphic::grayScale> rotates and fixed axis zooms a L<SDL::Surface>. |
26 | |
27 | =head2 invertColor ( surface ) |
28 | |
29 | C<SDL::Tool::Graphic::invertColor> inverts the color of a <SDL::Surface>. |
30 | |
31 | |
32 | =head1 AUTHOR |
33 | |
34 | Russell E. Valentine |
35 | |
36 | =head1 SEE ALSO |
37 | |
38 | L<perl> L<SDL::Surface> |
39 | |
40 | =cut |