The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Image::TextMode::Reader::PCBoard - Reads PCBoard files

DESCRIPTION

Provides reading capabilities for the PCBoard format.

ACCESSORS

  • 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)

  • state - state of the parser (default: $S_TXT)

  • image - the image we're parsing into

  • linewrap - max width before we wrap to the next line (default: 80)

  • codes - hashref of key-value pairs to substitute into the image

METHODS

set_attributes( $bg, $fg )

Sets the default attribute information (fg and bg).

clear_screen( )

Clears all data on the canvas.

new_line( )

Simulates a \n character.

tab( )

Simulates a \t character.

store( $char, $x, $y [, $attr] )

Stores $char at position $x, $y with either the supplied attribute or the current attribute setting.

AUTHOR

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2008-2022 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.