blib/lib/SDL2/TouchFingerEvent.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package SDL2::TouchFingerEvent {
2 use SDL2::Utils;
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<type> - C<SDL_FINGERMOTION> or C<SDL_FINGERDOWN> or C<SDL_FINGERUP>
34  
35 =item C<timestamp> - In milliseconds, populated using L<< C<SDL_GetTicks( )>|SDL2::FFI/C<SDL_GetTicks( )> >>
36  
37 =item C<touchId> - The touch device id
38  
39 =item C<fingerId> -
40  
41 =item C<x> - Normalized in the range C<0..1>
42  
43 =item C<y> - Normalized in the range C<0..1>
44  
45 =item C<dx> - Normalized in the range C<-1..1>
46  
47 =item C<dy> - Normalized in the range C<-1..1>
48  
49 =item C<pressure> - Normalized in the range C<0..1>
50  
51 =item C<windowID> - The window underneath the finger, if any
52  
53 =back
54  
55 =head1 AUTHOR
56  
57 Sanko Robinson E<lt>sanko@cpan.orgE<gt>
58  
59 =begin stopwords
60  
61  
62 =end stopwords
63  
64 =cut
65  
66 };
67 1;