Image::TextMode::Reader::AVATAR - Reads AVATAR files
Provides reading capabilities for the AVATAR format.
The reader implements all of the AVT/0 specification as well as the majority of the AVT/0+ specification. The main difference being that AVT/0+ character expansion is not re-interpreted, thus expansions containing further AVT/0 codes will simply be written as characters to the canvas.
tabstop - every Nth character will be a tab stop location (default: 8)
x - current x (default: 0)
y - current y (default: 0)
attr - current attribute info (default: 7, gray on black)
image - the image we're parsing into
insert - insert mode (default: off)
linewrap - max width before we wrap to the next line (default: 80)
Moves the cursor to $x, $y.
$x, $y
Moves the cursor up $y lines.
$y
Moves the cursor down $y lines.
Moves the cursor left $x columns.
$x
Moves the cursor right $x columns.
Scrolls box bound by ($x0, $y0) and ($x1, $y1) in direction $dir (up or down), by $n lines.
$x0
$y0
$x1
$y1
$dir
$n
Clears box bound from current cursor position for $rows rows and $cols columns using $char as the character.
$rows
$cols
$char
Clears all data on the canvas.
Clears the remainder of the current line.
Simulates a \n character.
\n
Simulates a \t character.
\t
Stores $char at position $x, $y with either the supplied attribute or the current attribute setting.
Brian Cassidy <bricas@cpan.org>
Copyright 2008-2015 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Image::TextMode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::TextMode
CPAN shell
perl -MCPAN -e shell install Image::TextMode
For more information on module installation, please visit the detailed CPAN module installation guide.