File Coverage

blib/lib/SDL/Surface.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 28 28 100.0


line stmt bran cond sub pod time code
1             package SDL::Surface;
2 26     26   20291 use strict;
  26         58  
  26         969  
3 26     26   145 use warnings;
  26         53  
  26         2322  
4 26     26   141 use vars qw(@ISA @EXPORT @EXPORT_OK);
  26         53  
  26         2302  
5             require Exporter;
6             require DynaLoader;
7 26     26   208 use SDL::Constants ':SDL::Video';
  26         72  
  26         15647  
8 26     26   15091 use SDL::PixelFormat;
  26         82  
  26         16271  
9             our @ISA = qw(Exporter DynaLoader);
10              
11 26     26   192 use SDL::Internal::Loader;
  26         61  
  26         2955  
12             internal_load_dlls(__PACKAGE__);
13              
14             bootstrap SDL::Surface;
15              
16 26     26   148 use base 'Exporter';
  26         47  
  26         5064  
17             our @EXPORT = @{ $SDL::Constants::EXPORT_TAGS{'SDL::Video'} };
18             our %EXPORT_TAGS = (
19             all => \@EXPORT,
20             color => $SDL::Constants::EXPORT_TAGS{'SDL::Video/color'},
21             surface => $SDL::Constants::EXPORT_TAGS{'SDL::Video/surface'},
22             video => $SDL::Constants::EXPORT_TAGS{'SDL::Video/video'},
23             overlay => $SDL::Constants::EXPORT_TAGS{'SDL::Video/overlay'},
24             grab => $SDL::Constants::EXPORT_TAGS{'SDL::Video/grab'},
25             palette => $SDL::Constants::EXPORT_TAGS{'SDL::Video/palette'},
26             gl => $SDL::Constants::EXPORT_TAGS{'SDL::Video/gl'}
27             );
28              
29             1;