Difference between revisions of "Paintbucket Toolbar"

From Inkscape Wiki
Jump to navigation Jump to search
(Created page with "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 * '''Thresho...")
 
(→‎Implementation: Updating with Toolbar breakdown files)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Overview ==
== Overview ==
[[File:Paintbucket-toolbar.png‎]]


Functions:
Functions:


* '''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 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 ==


* [https://blueprints.launchpad.net/inkscape?searchtext=paintbucket+toolbar Blueprints]
* [https://blueprints.launchpad.net/inkscape?searchtext=paintbucket+toolbar Blueprints]
* [https://bugs.launchpad.net/inkscape/+bugs?field.tag=paintbucket-toolbar Bugs, Works in progress and Wishlists]
* [https://bugs.launchpad.net/inkscape/+bugs?field.searchtext=paintbucket+toolbar Bugs, Works in progress and Wishlists]


[[Category:Toolbars]]
[[Category:Toolbars]]

Latest revision as of 18:42, 1 September 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