File Coverage

lib/SDL2/TouchFingerEvent.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package SDL2::TouchFingerEvent {
2 2     2   17 use SDL2::Utils;
  2         4  
  2         25  
3             has
4             type => 'uint32',
5             timestamp => 'uint32',
6             touchId => 'opaque', # SDL_TouchID
7             fingerId => 'opaque', # SDL_FingerID
8             x => 'float',
9             y => 'float',
10             dx => 'float',
11             dy => 'float',
12             pressure => 'float',
13             windowID => 'uint32';
14              
15             =encoding utf-8
16              
17             =head1 NAME
18              
19             SDL2::TouchFingerEvent - Touch finger event structure
20              
21             =head1 SYNOPSIS
22              
23             use SDL2 qw[:all];
24             # TODO: I need to whip up a quick example
25              
26             =head1 DESCRIPTION
27            
28              
29             =head1 Fields
30              
31             =over
32              
33             =item C - C or C or C
34              
35             =item C - In milliseconds, populated using L<< C|SDL2::FFI/C >>
36              
37             =item C - The touch device id
38              
39             =item C -
40              
41             =item C - Normalized in the range C<0..1>
42              
43             =item C - Normalized in the range C<0..1>
44              
45             =item C - Normalized in the range C<-1..1>
46              
47             =item C - Normalized in the range C<-1..1>
48              
49             =item C - Normalized in the range C<0..1>
50              
51             =item C - The window underneath the finger, if any
52              
53             =back
54              
55             =head1 AUTHOR
56              
57             Sanko Robinson Esanko@cpan.orgE
58              
59             =begin stopwords
60              
61              
62             =end stopwords
63              
64             =cut
65              
66             };
67             1;