Difference between revisions of "Paintbucket Toolbar"
Jump to navigation
Jump to search
Romain2Boss (talk | contribs) (→Overview: Adding screenshot) |
Romain2Boss (talk | contribs) (→Implementation: Updating with Toolbar breakdown files) |
||
(2 intermediate revisions by the same user not shown) | |||
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''': | * '''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 subsystem|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 == | ||
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/toolbox.cpp src/widgets/toolbox.cpp] | * [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/toolbox.cpp src/widgets/toolbox.cpp] | ||
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/gradient-toolbar.cpp src/widgets/gradient-toolbar.cpp] | |||
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/gradient-toolbar.h src/widgets/gradient-toolbar.h] | |||
== Linked bugs, blueprints and wishlists == | == Linked bugs, blueprints and wishlists == |
Latest revision as of 18:42, 1 September 2012
The Paintbucket Toolbar is a set of graphical widgets used to fill a shape.
Overview
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:
- Parameters are stored in Preferences
- Defaults values (for reset) are hard coded in void paintbucket_defaults()