| 1 | |||
| 2 | package SDL2::FRect { | ||
| 3 | use SDL2::Utils; | ||
| 4 | has x => 'float', y => 'float', w => 'float', h => 'float'; | ||
| 5 | |||
| 6 | =encoding utf-8 | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | SDL2::FRect - A Rectangle with the Origin at the Upper Left in Floating Point | ||
| 11 | Numbers | ||
| 12 | |||
| 13 | =head1 SYNOPSIS | ||
| 14 | |||
| 15 | use SDL2 qw[:all]; | ||
| 16 | my $rect = SDL2::FRect->new( { x => 50.7, y => 1.5, w => 99.75, h => 50.75 } ); | ||
| 17 | |||
| 18 | =head1 DESCRIPTION | ||
| 19 | |||
| 20 | SDL2::FRect | ||
| 21 | |||
| 22 | =head1 AUTHOR | ||
| 23 | |||
| 24 | Sanko Robinson E<lt>sanko@cpan.orgE<gt> | ||
| 25 | |||
| 26 | =begin stopwords | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | =end stopwords | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | }; | ||
| 35 | 1; |