context_set_diagonal_neighbors


Description:


[ Version ( since = "2.10" ) ]
public bool context_set_diagonal_neighbors (bool diagonal_neighbors)

Set the diagonal neighbors setting.

Modifies the diagonal neighbors setting. If the affected region of an operation is based on a seed point, like when doing a seed fill, then, when this setting is TRUE, all eight neighbors of each pixel are considered when calculating the affected region; in contrast, when this setting is FALSE, only the four orthogonal neighbors of each pixel are considered.

This setting affects the following procedures: select_contiguous_color , edit_bucket_fill.

Parameters:

diagonal_neighbors

The diagonal neighbors setting.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0