File Coverage

lib/SDL2/Surface.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::Surface {
2 2     2   16 use SDL2::Utils;
  2         6  
  2         23  
3             has
4             flags => 'uint32',
5             format => 'opaque', # SDL_PixelFormat*
6             w => 'int',
7             h => 'int',
8             pitch => 'int',
9             pixels => 'opaque', # void*
10             userdata => 'opaque', # void*
11             locked => 'int',
12             lock_data => 'opaque', # void*
13             clip_rect => 'SDL_Rect',
14             map => 'opaque', # SDL_BlitMap*
15             refcount => 'int';
16              
17             =encoding utf-8
18              
19             =head1 NAME
20              
21             SDL2::Surface - A collection of pixels used in software blitting
22              
23             =head1 SYNOPSIS
24              
25             use SDL2 qw[:all];
26             # TODO
27              
28             =head1 DESCRIPTION
29              
30             SDL2::Surface should be treated as read-only, except for C, which, if
31             defined, contains the raw pixel data for the surface.
32              
33             =head1 AUTHOR
34              
35             Sanko Robinson Esanko@cpan.orgE
36              
37             =begin stopwords
38              
39             blitting
40              
41             =end stopwords
42              
43             =cut
44              
45             };
46             1;