File Coverage

lib/SDL2/PixelFormat.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::PixelFormat {
2 2     2   17 use SDL2::Utils;
  2         4  
  2         18  
3             has
4             format => 'uint32',
5             palette => 'SDL_Palette',
6             BitsPerPixel => 'uint8',
7             BytesPerPixel => 'uint8',
8             padding => 'uint8[2]',
9             Rmask => 'uint32',
10             Gmask => 'uint32',
11             Bmask => 'uint32',
12             Amask => 'uint32',
13             Rloss => 'uint8',
14             Gloss => 'uint8',
15             Bloss => 'uint8',
16             Aloss => 'uint8',
17             Rshift => 'uint8',
18             Gshift => 'uint8',
19             Bshift => 'uint8',
20             Ashift => 'uint8',
21             refcount => 'int',
22             next => 'opaque' # SDL_PixelFormat *
23             ;
24              
25             =encoding utf-8
26              
27             =head1 NAME
28              
29             SDL2::PixelFormat - RGBA pixel structure
30              
31             =head1 SYNOPSIS
32              
33             use SDL2 qw[:all];
34             # TODO: I need to whip up a quick example
35              
36             =head1 DESCRIPTION
37              
38             Everything in the pixel format structure is read-only.
39              
40             =head1 Fields
41              
42             =over
43              
44             =item C
45              
46             =item C
47              
48             =item C
49              
50             =item C
51              
52             =item C
53              
54             =item C
55              
56             =item C
57              
58             =item C
59              
60             =item C
61              
62             =item C
63              
64             =item C
65              
66             =item C
67              
68             =item C
69              
70             =item C
71              
72             =item C
73              
74             =item C
75              
76             =item C
77              
78             =item C
79              
80             =item C
81              
82             =back
83              
84             =head1 AUTHOR
85              
86             Sanko Robinson Esanko@cpan.orgE
87              
88             =begin stopwords
89              
90              
91             =end stopwords
92              
93             =cut
94              
95             };
96             1;