Method
IpuzCrosswordmirror_cell
Declaration [src]
void
ipuz_crossword_mirror_cell (
IpuzCrossword* self,
const IpuzCellCoord* src_coord,
const IpuzCellCoord* dest_coord,
IpuzSymmetry symmetry,
IpuzSymmetryOffset symmetry_offset
)
Description [src]
Makes the cell at dest_coord
match the appearance of the cell at
src_coord
while maintaining symmetry. For normal crosswords, this
just matches their cell_type
and symmetry is largely
ignored. However, for barred crosswords this implementation is
quite complex as it needs to rotate and adjust the bars to keep symmetry.
Parameters
src_coord
-
Type:
IpuzCellCoord
The source coord to mirror.
The data is owned by the caller of the method. dest_coord
-
Type:
IpuzCellCoord
The dest coord to mirrored.
The data is owned by the caller of the method. symmetry
-
Type:
IpuzSymmetry
The symmetry to be observed.
symmetry_offset
-
Type:
IpuzSymmetryOffset
The symmetry offset to be observed.