SDL2::Rect - A Rectangle with the Origin at the Upper Left in Integers
use SDL2 qw[:all]; my $rect = SDL2::Rect->new( { x => 1, y => 1, w => 100, h => 100 } );
SDL2::Rect
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
Sanko Robinson <sanko@cpan.org>
To install SDL2::FFI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDL2::FFI
CPAN shell
perl -MCPAN -e shell install SDL2::FFI
For more information on module installation, please visit the detailed CPAN module installation guide.