line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::Rect { |
2
|
2
|
|
|
2
|
|
12
|
use SDL2::Utils; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
11
|
|
3
|
|
|
|
|
|
|
has x => 'int', y => 'int', w => 'int', h => 'int'; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=encoding utf-8 |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
SDL2::Rect - A Rectangle with the Origin at the Upper Left in Integers |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SYNOPSIS |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
14
|
|
|
|
|
|
|
my $rect = SDL2::Rect->new( { x => 1, y => 1, w => 100, h => 100 } ); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 DESCRIPTION |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
SDL2::Rect |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 AUTHOR |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=begin stopwords |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=end stopwords |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=cut |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
}; |
33
|
|
|
|
|
|
|
1; |