gimp-context-set-sample-threshold

Michael Natterer <mitch@gimp.org>

Description

Set the sample threshold setting.

Help

This procedure modifies the sample threshold setting. If an operation depends on the colors of the pixels present in a drawable, like when doing a seed fill, this setting controls what is "sufficiently close" to be considered a similar color. If the sample threshold has not been set explicitly, the default threshold set in gimprc will be used. This setting affects the following procedures: 'gimp-image-select-color', 'gimp-image-select-contiguous-color'.


Type

unknown

Parameters

Type Name Description
PF_FLOAT sample-threshold The sample threshold setting (0 <= sample-threshold <= 1)

Return

None