The LayoutProc associated to tilingClass assumes that:
there is the same number of tiles in every row,
all tiles in a given row have the same height (of the IR),
all tiles in a given column have the same width (of the IR),
no two tiles in the array are shared (ref-equal).
CreateTiling:
PROC [public: Wire, tileArray: TileArray, neighborX, neighborY: NeighborProc, name:
ROPE ←
NIL, props: Properties ←
NIL]
RETURNS [tiling: CellType];
public is the resulting public of the whole tiling.
tileArray gives the tiles.
neighborX, neighborY are used to compute the stitches.
name, if non NIL, has precedence over props.
tiling is of class tilingClass.