diff options
| author | Simon Tatham <anakin@pobox.com> | 2023-04-02 14:30:30 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2023-04-02 14:35:12 +0100 |
| commit | 2499eb47fa4e0c86bc1b6100b4922026670b2ad8 (patch) | |
| tree | 47159c02acc051e9d87b5cf6f79e651e5567de0c /PuzzleApplet.java | |
| parent | 79561485919e0dc867b5c5190c00aa90c5112b37 (diff) | |
| download | puzzles-2499eb47fa4e0c86bc1b6100b4922026670b2ad8.zip puzzles-2499eb47fa4e0c86bc1b6100b4922026670b2ad8.tar.gz puzzles-2499eb47fa4e0c86bc1b6100b4922026670b2ad8.tar.bz2 puzzles-2499eb47fa4e0c86bc1b6100b4922026670b2ad8.tar.xz | |
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.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions