our $lmu_txtboxpadx= $lmu_marktpt * 0.335;
our $lmu_lenboxpadx= $lmu_marktpt * 0.005;
our $lmu_txtboxoff= $lmu_marklw / 2;
-our $lmu_lenboxoff= -$lmu_marklw * 1.5;
+our $lmu_lenboxoff= -$lmu_marklw * 1.0;
our $lmu_txtboxlw= 1;
our $olu_left= 10 * $scale;
my ($pt,$ad,$len);
$param= ($p0+$p1)*0.5;
$pt= &$calcfn;
- $ad= ang2deg($pt->{A}) + 90;
+ $ad= ang2deg($pt->{A});
$len= sprintf "%.0f", $lenperp * abs($p1-$p0);
ol(" gsave\n".
" $pt->{X} $pt->{Y} translate\n".
- " $ad rotate 0.75 dup scale\n".
- " 0 $lmu_lenboxh $lmu_lenboxpadx $lmu_lenboxoff".
- " ($len) label_in_box\n".
+ " $ad rotate\n".
+ " lf setfont 0 $lmu_lenboxoff moveto ($len) show\n".
" grestore\n");
}
return unless $draw =~ m/[ARS]/;