Method
IpuzCrosswordfix_symmetry
Declaration [src]
void
ipuz_crossword_fix_symmetry (
IpuzCrossword* self,
IpuzSymmetry symmetry,
GArray* symmetry_coords
)
Description [src]
Enforce the board symmetry of the cells in summetry_coords
in the
direction of symmetry
. That is to say, go through each cell in
symmetry_coords
and make sure that the appropriate cell at the
point(s) of symmetry have the same IpuzCellType
.
In addition, subclasses of IpuzCrossword
may do further fixups.
Parameters
symmetry
-
Type:
IpuzSymmetry
The symmetry condition to enforce.
symmetry_coords
-
Type: An array of
IpuzCellCoord*
A
GArray
ofIpuzCellCoords
.The data is owned by the caller of the method.