ref: 2499eb47fa4e0c86bc1b6100b4922026670b2ad8
parent: 79561485919e0dc867b5c5190c00aa90c5112b37
author: Simon Tatham <anakin@pobox.com>
date: Sun Apr 2 10:30:30 EDT 2023
hat-test: more scaling and clipping options. This adds the ability to turn off hat-test's normal scaling of the bounding box to fit on an A4 page, which I intended for printing test patches (but never actually found a need to print one). The --unscaled mode seems more useful if you're planning to turn the output into an image, e.g. to use as a desktop background. Also added --clip, which generates a rectangle completely covered in hats (i.e. shows any hat that overlaps the output rectangle at all), as opposed to the normal mode which omits any hat that doesn't fit _entirely_ in the output rectangle (more similar to what Loopy wants). Actually generating a desktop background by this method is still a bit fiddly to get right, but it's better than before.