Virtual Method
IpuzCrosswordcheck_mirror
Declaration [src]
gboolean
check_mirror (
IpuzCrossword* self,
const IpuzCellCoord* src_coord,
const IpuzCellCoord* dest_coord,
IpuzSymmetry symmetry,
IpuzSymmetryOffset symmetry_offset
)
Description [src]
Checks the cell at dest_coord to see if it’s the symmetric
opposite of the cell at src_coord. For normal crosswords, this
just checks that the cell_type is the same, and symmetry is
largely ignored. However, for barred crosswords this implementation
is quite complex as it needs to rotate and adjust the bars.
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.