line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Image::TextMode::Format::Tundra; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
5400
|
use Moo; |
|
3
|
|
|
|
|
45189
|
|
|
3
|
|
|
|
|
16
|
|
4
|
3
|
|
|
3
|
|
5420
|
use Types::Standard qw( HashRef ); |
|
3
|
|
|
|
|
168066
|
|
|
3
|
|
|
|
|
44
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
extends 'Image::TextMode::Format', 'Image::TextMode::Canvas'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has 'header' => ( |
9
|
|
|
|
|
|
|
is => 'rw', |
10
|
|
|
|
|
|
|
isa => HashRef, |
11
|
|
|
|
|
|
|
default => sub { { int_id => 24, id => 'TUNDRA24' } } |
12
|
|
|
|
|
|
|
); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
has '+render_options' => ( default => sub { { truecolor => 1 } } ); |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
1
|
337
|
sub extensions { return 'tnd' } |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Image::TextMode::Format::Tundra - read and write Tundra files |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
The Tundra format. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 ACCESSORS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=over 4 |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=item * header - A header hashref containing a version number and id |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=back |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 METHODS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head2 new( %args ) |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Creates a Tundra instance. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 extensions( ) |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Returns 'tnd'. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Brian Cassidy Ebricas@cpan.orgE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Copyright 2008-2014 by Brian Cassidy |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
53
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
1; |