chiark / gitweb /
Lambros points out that trying to generate a 3x3 Cairo Easy grid
authorSimon Tatham <anakin@pobox.com>
Thu, 18 Sep 2008 18:19:55 +0000 (18:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 18 Sep 2008 18:19:55 +0000 (18:19 +0000)
commit734dc80c53592b83cd381addc46fd247317fe4e1
tree46129976d0aed9ecd3098ee4724f2533846346b5
parentef6166e198374b4d3559e90ba345f7572bdde052
Lambros points out that trying to generate a 3x3 Cairo Easy grid
spins forever, but observes that raising the limit to 4x4 across all
grid types is not good for the complex grids like great-hexagonal.
Introduce per-grid minimum sizes using mad macro trickery.

(In fact, for each grid type I've put in a minimum size which _both_
dimensions must equal or exceed, plus another minimum size which _at
least one_ must equal or exceed; that permits both 3x4 and 4x3 Cairo
while disallowing 3x3.)

[originally from svn r8191]
loopy.c