Function
IpuzSymmetrycalculate
Declaration [src]
void
ipuz_symmetry_calculate (
const IpuzCellCoord* coord,
IpuzCellCoord* mirror_coord,
guint puzzle_width,
guint puzzle_height,
IpuzSymmetry symmetry,
IpuzSymmetryOffset symmetry_offset
)
Description [src]
Calculates the coordinate opposite of coord as defined by
symmetry and symmetry_offset. If symmetry is quarter rotational,
multiple calls to this function must be made.
Note, this calculation is done independent of any puzzle conditions.
Parameters
coord-
Type:
IpuzCellCoordAn
IpuzCellCoordmirror_coord(out): Location to set to the mirror ofcoord.The data is owned by the caller of the function. mirror_coord-
Type:
IpuzCellCoordNo description available.
The data is owned by the caller of the function. puzzle_width-
Type:
guintWidth of the puzzle.
puzzle_height-
Type:
guintHeight of the puzzle.
symmetry-
Type:
IpuzSymmetrySymmetry of the puzzle.
symmetry_offset-
Type:
IpuzSymmetryOffsetMode of the symmetry to calculate.