Method

IpuzGridresize

Declaration [src]

void
ipuz_grid_resize (
  IpuzGrid* self,
  guint new_width,
  guint new_height
)

Description [src]

Resizes self to the new size.

If one of the dimensions is larger than before, the new cells will be filled in with puzzle-appropriate default values.

This function will not adjust its internal IpuzGuesses object to match the new size. That can be done by a separate call to ipuz_grid_fix_guesses().

Parameters

new_width

Type: guint

The new width.

new_height

Type: guint

The new height.