aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2023-03-28 20:29:45 +0100
committerSimon Tatham <anakin@pobox.com>2023-03-28 20:51:26 +0100
commit22417efad6173417e414bee532a6dcd20324e87d (patch)
treed3952dc2f14b64ceb83e4b2944f6e45aa721a0ee /PuzzleApplet.java
parent6f75879e9fe7cb5dc72c9229d1772e31e4f5c77b (diff)
downloadpuzzles-22417efad6173417e414bee532a6dcd20324e87d.zip
puzzles-22417efad6173417e414bee532a6dcd20324e87d.tar.gz
puzzles-22417efad6173417e414bee532a6dcd20324e87d.tar.bz2
puzzles-22417efad6173417e414bee532a6dcd20324e87d.tar.xz
Hats tiling: make hat-test draw each hat in one go.
By introducing a second callback between the client of hat.c and the maybe_report_hat function, I enable the test main() to provide a different version of that callback, so that instead of enumerating each kite, it can directly generate a Postscript path per actual hat. This should make it more useful to people wanting to generate hat patterns for any other purpose. The internal callback gets more details than the external one; in particular, it receives a HatCoords, so that it can colour hats based on their position in the hierarchical structure.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions