---
name: "SDL::Tool::Graphic"
section: "3pm"
platform: "linux"
package: "libsdl-perl"
version: "2.2.5-1+b1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL::Tool::Graphic"
---

# SDL::Tool::Graphic(3pm)

## 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
