Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Image::ANSI::Font
A base class for fonts

Image::ANSI::Font - A base class for fonts


NAME

Image::ANSI::Font - A base class for fonts


SYNOPSIS


        # use 8x8, 8x16, or your own

        $font = Image::ANSI::Font::8x8->new;


METHODS

new( [$chars] )

Creates a new Image::ANSI::Font object.

clear( )

Clears any in-memory data.

chars( [$chars] )

sets the character set. $chars should be an array (either 256 or 512 [the number of characters]) of arrays (from 1 to 32 [1 bitmask per scanline]).

char( $index, [$char] )

Get / set a char in the font.

intensity_map( )

Returns an array ref of intensity numbers (one for each character) for use when creating a thumbnail image.

as_gd( )

Returns a GD::Font object.

characters( [$characters] )

Returns or sets the number of characters in the font

width( [$width] )

Returns or sets the width of the font.

height( [$height] )

Returns or sets the number of scanlines in each of the characters in the font


AUTHOR


COPYRIGHT AND LICENSE

Copyright 2005 by Brian Cassidy

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy