context_set_sample_transparent


Description:


[ Version ( since = "2.8" ) ]
public bool context_set_sample_transparent (bool sample_transparent)

Set the sample transparent setting.

Modifies the sample transparent setting. If an operation depends on the colors of the pixels present in a drawable, like when doing a seed fill, this setting controls whether transparency is considered to be a unique selectable color. When this setting is TRUE, transparent areas can be selected or filled.

This setting affects the following procedures: select_color, select_contiguous_color, edit_bucket_fill.

Parameters:

sample_transparent

The sample transparent setting.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0