$cr->rectangle(
$feature->{ 'x1' },
$feature->{ 'y1' },
- $feature->{ 'x2' } - $feature->{ 'x1' },
- $feature->{ 'y2' } - $feature->{ 'y1' },
+ $feature->{ 'x2' } - $feature->{ 'x1' } + 1,
+ $feature->{ 'y2' } - $feature->{ 'y1' } + 1,
);
$cr->fill;
last if $x1 >= $ladder[ $y_step ] + 1;
}
- $y1 = $cookie->{ 'TRACK_OFFSET' } + ( ( 0.1 + $cookie->{ 'FEAT_WIDTH' } ) * $y_step );
+ $y1 = $cookie->{ 'TRACK_OFFSET' } + ( ( 1.1 + $cookie->{ 'FEAT_WIDTH' } ) * $y_step );
$feature = {
line_width => $cookie->{ 'FEAT_WIDTH' },
push @features, $feature;
- $y_max = Maasha::Calc::max( $y_max, $y_step * ( 0.1 + $cookie->{ 'FEAT_WIDTH' } ) );
+ $y_max = Maasha::Calc::max( $y_max, $y_step * ( 1.1 + $cookie->{ 'FEAT_WIDTH' } ) );
push @features, feature_align( $entry, $beg, $y1, $factor, $cookie->{ 'FEAT_WIDTH' } ) if $entry->[ ALIGN ] ne '.';