Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
1 -1 37 16
1 0
END
- my @line_poses;
+ my $line;
+ my $line_word = 'moveto';
my $o = '';
$x *= $colspacing;
$y *= $spacing;
- push @line_poses, "$x $y";
+ $line .= " $x $y $line_word";
+ $line_word = 'lineto';
next unless defined $money;
$money += 4 * $repi;
grestore
END
- $ps_framing .= $o;
+ ("newpath $line stroke", $o)
}
sub repis () {
$repi $colspacing 2 mul mul 0 translate
END
- places($repi);
+ o( (places($repi))[1] );
o(<<END);
grestore
END