| 1 | package Image::TextMode::Format::IDF; | ||
| 2 | |||
| 3 | 3 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use Types::Standard qw( HashRef ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | extends 'Image::TextMode::Format', 'Image::TextMode::Canvas'; | |
| 7 | |||
| 8 | has 'header' => ( | ||
| 9 | is => 'rw', | ||
| 10 | isa => HashRef, | ||
| 11 | default => | ||
| 12 | 3 | ▶ | sub { { id => '\x{04}1.4', x0 => 0, y0 => 0, x1 => 0, y1 => 0 } } |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 13 | 3 | ); | |
| 14 | |||
| 15 | 1 | ▶ | sub extensions { return 'idf' } |
|
Subroutine
extensions: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Image::TextMode::Format::IDF - read and write IDF files | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | The IDF format. | ||
| 24 | |||
| 25 | =head1 ACCESSORS | ||
| 26 | |||
| 27 | =over 4 | ||
| 28 | |||
| 29 | =item * header - A header hashref containing an id, and x0, y0, x1, y1 canvas info | ||
| 30 | |||
| 31 | =back | ||
| 32 | |||
| 33 | =head1 METHODS | ||
| 34 | |||
| 35 | =head2 new( %args ) | ||
| 36 | |||
| 37 | Creates a IDF instance. | ||
| 38 | |||
| 39 | =head2 extensions( ) | ||
| 40 | |||
| 41 | Returns 'idf'. | ||
| 42 | |||
| 43 | =head1 AUTHOR | ||
| 44 | |||
| 45 | Brian Cassidy E<lt>bricas@cpan.orgE<gt> | ||
| 46 | |||
| 47 | =head1 COPYRIGHT AND LICENSE | ||
| 48 | |||
| 49 | Copyright 2008-2015 by Brian Cassidy | ||
| 50 | |||
| 51 | This library is free software; you can redistribute it and/or modify | ||
| 52 | it under the same terms as Perl itself. | ||
| 53 | |||
| 54 | =cut | ||
| 55 | |||
| 56 | 3 | 1; | |