line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTTP::MobileAgent::Display; |
2
|
9
|
|
|
9
|
|
45
|
use strict; |
|
9
|
|
|
|
|
15
|
|
|
9
|
|
|
|
|
399
|
|
3
|
|
|
|
|
|
|
__PACKAGE__->HTTP::MobileAgent::make_accessors( |
4
|
|
|
|
|
|
|
qw(width height color depth width_bytes height_bytes) |
5
|
|
|
|
|
|
|
); |
6
|
|
|
|
|
|
|
|
7
|
9
|
|
|
9
|
|
41
|
use vars qw($VERSION); |
|
9
|
|
|
|
|
7
|
|
|
9
|
|
|
|
|
1068
|
|
8
|
|
|
|
|
|
|
$VERSION = 0.17; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
7
|
|
|
7
|
0
|
22
|
my($class, %data) = @_; |
12
|
7
|
|
|
|
|
52
|
bless {%data}, $class; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub size { |
16
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
17
|
0
|
0
|
|
|
|
|
return wantarray ? ($self->width, $self->height) : $self->width * $self->height; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
__END__ |