Virtual Method

IpuzCrosswordfix_symmetry

Declaration [src]

void
fix_symmetry (
  IpuzCrossword* self,
  IpuzSymmetry symmetry,
  GArray* symmetry_coords
)

Description [src]

Enforce the board symmetry of the cells in coords in the direction of symmetry. That is to say, go through each cell in coords and make sure that the appropriate cell at the point(s) of symmetry have the same IpuzCellType.

Parameters

symmetry

Type: IpuzSymmetry

The symmetry condition to enforce.

symmetry_coords

Type: An array of IpuzCellCoord*

An GArray of IpuzCellCoords.

The data is owned by the caller of the function.