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   8741 use strict;
  26         29  
  26         664  
3 26     26   78 use warnings;
  26         26  
  26         549  
4 26     26   78 use vars qw(@ISA @EXPORT @EXPORT_OK);
  26         27  
  26         1261  
5             require Exporter;
6             require DynaLoader;
7 26     26   93 use SDL::Constants ':SDL::Video';
  26         117  
  26         4788  
8 26     26   6627 use SDL::PixelFormat;
  26         35  
  26         7547  
9             our @ISA = qw(Exporter DynaLoader);
10              
11 26     26   151 use SDL::Internal::Loader;
  26         28  
  26         1176  
12             internal_load_dlls(__PACKAGE__);
13              
14             bootstrap SDL::Surface;
15              
16 26     26   91 use base 'Exporter';
  26         25  
  26         2753  
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;