line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Image::TextMode::Format::ANSIMation; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
3700
|
use Moo; |
|
3
|
|
|
|
|
39824
|
|
|
3
|
|
|
|
|
13
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
extends 'Image::TextMode::Format', 'Image::TextMode::Animation'; |
6
|
|
|
|
|
|
|
|
7
|
3
|
|
|
3
|
|
4853
|
use Image::TextMode::Palette::ANSI; |
|
3
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
274
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has '+palette' => ( default => sub { Image::TextMode::Palette::ANSI->new } ); |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
1
|
345
|
sub extensions { return } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Image::TextMode::Format::ANSIMation - read and write ANSIMation files |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 DESCRIPTION |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
ANSIMation is an pseudo-format whereby the ANSI is displayed at a slow |
20
|
|
|
|
|
|
|
enough rate so that it appears to animate the image. This module simulates |
21
|
|
|
|
|
|
|
this by assuming a C command is the start of a new "frame" in |
22
|
|
|
|
|
|
|
the sequence. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 METHODS |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 new( %args ) |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Creates a ANSIMation instance. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 extensions( ) |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Returns an empty list. |
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; |