From 05334e6abad00eecba1d8af90314679031ef3d22 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Wed, 5 Apr 2023 11:34:44 +0200 Subject: [PATCH] draw outline --- envelope.asy | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/envelope.asy b/envelope.asy index 79ad1f3..f927b3c 100644 --- a/envelope.asy +++ b/envelope.asy @@ -109,3 +109,10 @@ draw(cl1 -- corners[2] -- cl2); draw(cr1 -- corners[0] -- cr2); draw(cb1 -- corners[3] -- cb2); draw(ct1 -- corners[1] -- ct2); + +// Draw the outline of the whole template. This is handy when not printing on +// the correctly sized paper. We are lazy and draw it piecewise. +draw(cb2 -- cl2); +draw(cl1 -- (0, sqsz) -- ct2); +draw(ct1 -- cr1); +draw(cr2 -- (sqsz, 0) -- cb1);