David J. Goehrig > SDL_Perl-2.1.3 > SDL::Rect

Download:
SDL_Perl-2.1.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  4
Stalled  3
View Bugs
Report a bug
Source   Latest Release: SDL_Perl-v2.2.6

NAME ^

SDL::Rect - a SDL perl extension

SYNOPSIS ^

  $rect = new SDL::Rect ( -height => 4, -width => 40 );

DESCRIPTION ^

SDL::Rect::new creates a SDL_Rect structure which is used for specifying regions for filling, blitting, and updating. These objects make it easy to cut and backfill. By default, x, y, h, w are 0.

METHODS

The four fields of a rectangle can be set simply by passing a value to the applicable method. These are:

AUTHOR ^

David J. Goehrig

SEE ALSO ^

perl(1) SDL::Surface(3)