The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SDL::Tool::Graphic

DESCRIPTION

SDL::Tool::Graphic is a module for zooming and rotating SDL::Surface objects.

METHODS

zoom ( surface, xzoom, yzoom, smooth )

SDL::Tool::Graphic::zoom scales a SDL::Surface along the two axis independently.

rotoZoom ( surface, angle, zoom, smooth )

SDL::Tool::Graphic::rotoZoom rotates and fixed axis zooms a SDL::Surface.

grayScale ( surface )

SDL::Tool::Graphic::grayScale rotates and fixed axis zooms a SDL::Surface.

invertColor ( surface )

SDL::Tool::Graphic::invertColor inverts the color of a <SDL::Surface>.

AUTHOR

Russell E. Valentine

SEE ALSO

perl SDL::Surface