AcePerl
    
    
  
  
  
view release on metacpan or search on metacpan
Ace/Graphics/Glyph/group.pm view on Meta::CPAN
# override draw method - draw individual subparts
sub draw {
  my $self = shift;
  my $gd = shift;
  my ($left,$top) = @_;
  # bail out if this isn't the right kind of feature
  my @parts = $self->members;
  # three pixels of black, three pixels of transparent
  my $black = 1;
  my ($x1,$y1,$x2,$y2) = $parts[0]->calculate_boundaries($left,$top);
  my $center1 = ($y2 + $y1)/2;
  $gd->setStyle($black,$black,gdTransparent,gdTransparent,);
  for (my $i=0;$i<@parts-1;$i++) {
    my ($x1,$y1,$x2,$y2) = $parts[$i]->calculate_boundaries($left,$top);
    my ($x3,$y3,$x4,$y4) = $parts[$i+1]->calculate_boundaries($left,$top);
    next unless ($x3 - $x1) >= 3;
    
  
  
  Ace/Graphics/Glyph/segments.pm view on Meta::CPAN
  $gd->setStyle(0,0,0,1);
  $gd->line($x1+2,$top,$x2-2,$top,gdStyledBrushed);
}
sub make_brush {
  my $self = shift;
  my $orientation = shift;
  my $brush   = GD::Image->new(3,3);
  my $bgcolor = $brush->colorAllocate(255,255,255); #white
  $brush->transparent($bgcolor);
  my $fgcolor   = $brush->colorAllocate($self->factory->panel->rgb($self->fgcolor));
  if ($orientation > 0) {
    $brush->setPixel(0,0,$fgcolor);
    $brush->setPixel(1,1,$fgcolor);
    $brush->setPixel(0,2,$fgcolor);
  } else {
    $brush->setPixel(1,0,$fgcolor);
    $brush->setPixel(0,1,$fgcolor);
    $brush->setPixel(1,2,$fgcolor);
  }
    
  
  
  Ace/Sequence/Multi.pm view on Meta::CPAN
    $score   = $feature->score;
    # Follow the target
    $target  = $feature->info;
    # print the target's start and end positions
    print $target->start,'-',$target->end, "\n";
=head1 DESCRIPTION
I<Ace::Sequence::Multi> transparently combines information stored
about a sequence in a reference database with features tables from any 
number of annotation databases.  The resulting object can be used just 
like an Ace::Sequence object, except that the features remember their
database of origin and go back to that database for information.
This class will only work properly if the reference database and all
annotation databases share the same cosmid map.
=head1  OBJECT CREATION
    
  
  
  acebrowser/htdocs/stylesheets/elegans.css view on Meta::CPAN
HTML,BODY {
   background-color: #EEEEE0
}
H1,H2,H3,H4,I,EM,B,LI,UL,OL,DD,DT,ADDRESS,DL,A,STRONG,BLOCKQUOTE,P  {
    font-family: sans-serif;
    background-color: transparent;
}
TABLE {
    font-family: sans-serif;
}
TR,TD.search {
   font-size: 10pt;
}
.acetree {
   font-size: 10pt;
    
  
  
  acebrowser/htdocs/stylesheets/moviedb.css view on Meta::CPAN
HTML,BODY {
   background-color: #EEEEE0
}
H1,H2,H3,H4,I,EM,B,LI,UL,OL,DD,DT,ADDRESS,DL,A,STRONG,BLOCKQUOTE,P  {
    font-family: sans-serif;
    background-color: transparent;
}
TABLE {
    font-family: sans-serif;
}
TABLE.search {
    border-top: 0px;
    padding-top: 0px;
    margin-top: 0px;
}
.acetree {
    
  
  
  
( run in 0.534 second using v1.01-cache-2.11-cpan-a1d94b6210f )