line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::Point { |
2
|
2
|
|
|
2
|
|
12
|
use SDL2::Utils; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
12
|
|
3
|
|
|
|
|
|
|
has |
4
|
|
|
|
|
|
|
x => 'int', |
5
|
|
|
|
|
|
|
y => 'int'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=encoding utf-8 |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
SDL2::Point - The Structure that Defines a Point with Integers |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
16
|
|
|
|
|
|
|
my $point = SDL2::Point->new( { x => 1, y => 1 } ); |
17
|
|
|
|
|
|
|
warn $point->x; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
SDL2::Point |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 Fields |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=over |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=item C |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item C |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=back |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 AUTHOR |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=begin stopwords |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=end stopwords |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
}; |
44
|
|
|
|
|
|
|
1; |