Virtual Method
IpuzCrosswordmirror_cell
Declaration [src]
void
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:
IpuzCellCoordThe source coord to mirror.
The data is owned by the caller of the method. dest_coord-
Type:
IpuzCellCoordThe dest coord to mirrored.
The data is owned by the caller of the method. symmetry-
Type:
IpuzSymmetryThe symmetry to be observed.
symmetry_offset-
Type:
IpuzSymmetryOffsetThe symmetry offset to be observed.