sub showboundings () {
return unless $xopts =~ m/B/;
- o(" grestore gsave\n");
+ o(" gsave\n");
my $bb = $bb{$bounding};
o(" $bb->[0] neg $bb->[1] neg translate\n");
my $i = 0;
o(" closepath stroke\n");
$i++;
}
+ o(" grestore");
}
sub o_amble (@) {
&&EndProlog
&&BeginSetup
<< /PageSize [ @$sz ] >> setpagedevice
-/board {
+/all {
gsave
$bb->[0] neg $bb->[1] neg translate
$preamble_from_boundings
-
+ board
+ grestore
+ showboundings
+} def
+/showboundings {
+END
+ showboundings();
+ o_amble(<<END);
+} def
+/board {
+ gsave
% adjustment to actual image placement within prinable areas etc.:
34 -15 translate
END
sub postamble () {
o_amble(<<END);
grestore
-} bind def
+} def % board
&&EndSetup
&&Page: 1
&&BeginPageSetup
/pgsave save def
&&EndPageSetup
-board
+all
pgsave restore
showpage
&&EOF
sea_track();
hs_initial();
play_hint();
-showboundings();
postamble();
print STDERR Dumper(\%region) if $ENV{'GENERATE_BOARD_DUP'};