line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Image::TextMode::Format::ANSI; |
2
|
|
|
|
|
|
|
|
3
|
7
|
|
|
7
|
|
8047
|
use Moo; |
|
7
|
|
|
|
|
93139
|
|
|
7
|
|
|
|
|
36
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
extends 'Image::TextMode::Format', 'Image::TextMode::Canvas'; |
6
|
|
|
|
|
|
|
|
7
|
7
|
|
|
7
|
|
12664
|
use Image::TextMode::Palette::ANSI; |
|
7
|
|
|
|
|
20
|
|
|
7
|
|
|
|
|
786
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has '+palette' => ( default => sub { Image::TextMode::Palette::ANSI->new } ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
has '+render_options' => ( default => sub { { blink_mode => 1 } } ); |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
1
|
349
|
sub extensions { return 'ans', 'cia', 'ice' } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 NAME |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Image::TextMode::Format::ANSI - read and write ANSI files |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 DESCRIPTION |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
ANSI is a text-based image format that uses escape sequences to give the |
22
|
|
|
|
|
|
|
parser a particular command. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 METHODS |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 new( %args ) |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Creates a ANSI instance. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 extensions( ) |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Returns 'ans', 'cia', 'ice'. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 AUTHOR |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Brian Cassidy Ebricas@cpan.orgE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Copyright 2008-2014 by Brian Cassidy |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
43
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=cut |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |