Treemap::Output::PrintedText
#!/usr/bin/perl -w use Treemap; use Treemap::Input::Dir; use Treemap::Output::PrintedText; my $dir = Treemap::Input::Dir->new(); my $text = Treemap::Output::PrintedText->new( WIDTH=>1024, HEIGHT=>768 ); $dir->load( "/home" ); my $treemap = new Treemap( INPUT=>$dir, OUTPUT=>$imager ); $treemap->map();
This object is primarily for debugging Treemap's calling of Treemap::Output methods.
Implements Treemap::Output methods which allows Treemap to call appropriate print functions to output in text what would be drawn graphically.
new Creates a new object. There are no attributes to be set.
Simon Ditner <simon@uc.org>, and Eric Maki <eric@uc.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.