Bio-Phylo
view release on metacpan or search on metacpan
lib/Bio/Phylo/Taxa.pm
lib/Bio/Phylo/Taxa/TaxaLinker.pm
lib/Bio/Phylo/Taxa/Taxon.pm
lib/Bio/Phylo/Taxa/TaxonLinker.pm
lib/Bio/Phylo/Treedrawer.pm
lib/Bio/Phylo/Treedrawer/Abstract.pm
lib/Bio/Phylo/Treedrawer/Canvas.pm
lib/Bio/Phylo/Treedrawer/Gif.pm
lib/Bio/Phylo/Treedrawer/Jpeg.pm
lib/Bio/Phylo/Treedrawer/Pdf.pm
lib/Bio/Phylo/Treedrawer/Png.pm
lib/Bio/Phylo/Treedrawer/Processing.pm
lib/Bio/Phylo/Treedrawer/Svg.pm
lib/Bio/Phylo/Treedrawer/Swf.pm
lib/Bio/Phylo/Unparsers/Abstract.pm
lib/Bio/Phylo/Unparsers/Adjacency.pm
lib/Bio/Phylo/Unparsers/Cdao.pm
lib/Bio/Phylo/Unparsers/Fasta.pm
lib/Bio/Phylo/Unparsers/Figtree.pm
lib/Bio/Phylo/Unparsers/Hennig86.pm
lib/Bio/Phylo/Unparsers/Html.pm
lib/Bio/Phylo/Treedrawer/Gif.pm view on Meta::CPAN
package Bio::Phylo::Treedrawer::Gif;
use strict;
use warnings;
use Bio::Phylo::Util::Exceptions 'throw';
use Bio::Phylo::Util::Dependency 'Bio::Phylo::Treedrawer::Png';
use base 'Bio::Phylo::Treedrawer::Png';
=head1 NAME
Bio::Phylo::Treedrawer::Gif - Graphics format writer used by treedrawer, no
serviceable parts inside
=head1 DESCRIPTION
This module creates a gif file from a Bio::Phylo::Forest::DrawTree
object. It is called by the L<Bio::Phylo::Treedrawer> object, so look there to
lib/Bio/Phylo/Treedrawer/Jpeg.pm view on Meta::CPAN
package Bio::Phylo::Treedrawer::Jpeg;
use strict;
use warnings;
use Bio::Phylo::Util::Dependency 'Bio::Phylo::Treedrawer::Png';
use Bio::Phylo::Util::Exceptions 'throw';
use base 'Bio::Phylo::Treedrawer::Png';
=head1 NAME
Bio::Phylo::Treedrawer::Jpeg - Graphics format writer used by treedrawer, no
serviceable parts inside
=head1 DESCRIPTION
This module creates a jpeg file from a Bio::Phylo::Forest::DrawTree
object. It is called by the L<Bio::Phylo::Treedrawer> object, so look there to
lib/Bio/Phylo/Treedrawer/Png.pm view on Meta::CPAN
package Bio::Phylo::Treedrawer::Png;
use strict;
use warnings;
use base 'Bio::Phylo::Treedrawer::Abstract';
use Bio::Phylo::Util::Exceptions 'throw';
use Bio::Phylo::Util::CONSTANT qw'looks_like_hash _PI_';
use Bio::Phylo::Util::Dependency qw'GD::Simple GD::Polyline GD::Polygon GD';
use Bio::Phylo::Util::Logger;
my $logger = Bio::Phylo::Util::Logger->new;
my $PI = _PI_;
lib/Bio/Phylo/Treedrawer/Png.pm view on Meta::CPAN
which has the effect of anti-aliasing. This approach is taken because GD
doesn't seem to recognize line-widths if anti-aliasing has been turned on.
Because TrueType fonts are already anti-aliased we record where text needs to
end up after downsampling, and then in the last step we add the text into the
downsampled image.
=end comment
=head1 NAME
Bio::Phylo::Treedrawer::Png - Graphics format writer used by treedrawer, no
serviceable parts inside
=head1 DESCRIPTION
This module creates a png file from a Bio::Phylo::Forest::DrawTree
object. It is called by the L<Bio::Phylo::Treedrawer> object, so look there to
learn how to create tree drawings.
=begin comment
lib/Bio/Phylo/Treedrawer/Png.pm view on Meta::CPAN
my $aa = $self->_aa;
my @result;
push @result, $_ * $aa for @value;
return @result;
}
=begin comment
Type : Constructor
Title : _new
Usage : my $png = Bio::Phylo::Treedrawer::Png->_new(%args);
Function: Initializes a Bio::Phylo::Treedrawer::Png object.
Alias :
Returns : A Bio::Phylo::Treedrawer::Png object.
Args : none.
=end comment
=cut
sub _new {
my $class = shift;
my %opt = looks_like_hash @_;
( run in 0.447 second using v1.01-cache-2.11-cpan-0a6323c29d9 )