Difference between revisions of "Paintbucket Toolbar"

From Inkscape Wiki
Jump to navigation Jump to search
(→‎Overview: Adding screenshot)
(Add "Preferences" and updating functions from source code description)
Line 8: Line 8:


* '''Fill by''': Type of filling to apply to the shape
* '''Fill by''': Type of filling to apply to the shape
* '''Threshold'''
* '''Threshold''': The maximum allowed difference between the clicked pixel and the neighboring pixels to be counted in the fill
* '''Grow/Shrink by''': Expand or reduce the filled shape
* '''Grow/Shrink by''': The amount to grow (positive) or shrink (negative) the created fill path
* '''Close gaps''': Size of gaps to ignore
* '''Close gaps''': Size of gaps to ignore
* '''Reset'''
* '''Reset''': Reset paint bucket parameters to defaults (use Inkscape Preferences > Tools to change defaults)
 
== Preferences ==
 
* /tools/paintbucket/autogap: ''Close gaps'' parameter as Boolean
* /tools/paintbucket/channels: ''Fill by'' parameter as Integer
* /tools/paintbucket/offset: ''Grow/shrink by'' parameter as Double
* /tools/paintbucket/offsetunits: ''Grow/shrink by unit'' parameter as String
* /tools/paintbucket/threshold: ''Threshold'' parameter as Integer
 
Actual behaviours:
 
* Parameters are stored in Preferences
* Defaults values (for reset) are hard coded in [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/toolbox.cpp void paintbucket_defaults()]


== Implementation ==
== Implementation ==

Revision as of 16:55, 18 March 2012

The Paintbucket Toolbar is a set of graphical widgets used to fill a shape.

Overview

Paintbucket-toolbar.png

Functions:

  • Fill by: Type of filling to apply to the shape
  • Threshold: The maximum allowed difference between the clicked pixel and the neighboring pixels to be counted in the fill
  • Grow/Shrink by: The amount to grow (positive) or shrink (negative) the created fill path
  • Close gaps: Size of gaps to ignore
  • Reset: Reset paint bucket parameters to defaults (use Inkscape Preferences > Tools to change defaults)

Preferences

  • /tools/paintbucket/autogap: Close gaps parameter as Boolean
  • /tools/paintbucket/channels: Fill by parameter as Integer
  • /tools/paintbucket/offset: Grow/shrink by parameter as Double
  • /tools/paintbucket/offsetunits: Grow/shrink by unit parameter as String
  • /tools/paintbucket/threshold: Threshold parameter as Integer

Actual behaviours:

Implementation

Linked bugs, blueprints and wishlists