Difference between revisions of "Gradient Toolbar"

From Inkscape Wiki
Jump to navigation Jump to search
(Created page with "'''Warning: this a proposal of toolbar article template.''' == Overview == File:toolbar-gradient.png Functions: * '''New''': Two options, linear or radial gradients * '''...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Warning: this a proposal of toolbar article template.'''
The '''Gradient Toolbar''' is a set of graphical widgets used to create, edit and/or apply a [[gradient]] to a selection.


== Overview ==
== Overview ==


[[File:toolbar-gradient.png]]
[[File:Gradient-toolbar.png‎]]


Functions:
Functions:


* '''New''': Two options, linear or radial gradients
* '''New''': Two options, linear or radial gradients
* '''On''': Apply the new gradient to the background or the border of the object
* '''On''': Apply the new gradient to the fill or the stroke of the object
* '''Change''': Change the gradient of the selection
* '''Change''': Change the gradient of the selection
* '''Edit...''': Open the [Gradient Dialog] to edit the gradient
* '''Edit...''': Open the [[Gradient Dialog]] to edit the gradient
 
== Preferences ==
 
* /tools/gradient/newfillorstroke: ''On'' parameter as Boolean (fill = true, stroke = false)
* /tools/gradient/newgradient: ''New'' gradient type parameter as Integer (SP_GRADIENT_TYPE_LINEAR or SP_GRADIENT_TYPE_RADIAL)
 
Actual behaviours:
 
* Parameters are stored in [[Preferences subsystem|Preferences]]
* Defaults values are hard coded but no reset function exists


== Implementation ==
== Implementation ==


* src/widgets/toolbox.cpp
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/toolbox.cpp src/widgets/toolbox.cpp]
* src/widgets/gradient-toolbar.h
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/gradient-toolbar.h src/widgets/gradient-toolbar.h]
* src/widgets/gradient-toolbar.cpp
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/gradient-toolbar.cpp src/widgets/gradient-toolbar.cpp]


== Linked bugs, blueprints and wishlists ==
== Linked bugs, blueprints and wishlists ==


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

Latest revision as of 18:03, 18 March 2012

The Gradient Toolbar is a set of graphical widgets used to create, edit and/or apply a gradient to a selection.

Overview

Gradient-toolbar.png

Functions:

  • New: Two options, linear or radial gradients
  • On: Apply the new gradient to the fill or the stroke of the object
  • Change: Change the gradient of the selection
  • Edit...: Open the Gradient Dialog to edit the gradient

Preferences

  • /tools/gradient/newfillorstroke: On parameter as Boolean (fill = true, stroke = false)
  • /tools/gradient/newgradient: New gradient type parameter as Integer (SP_GRADIENT_TYPE_LINEAR or SP_GRADIENT_TYPE_RADIAL)

Actual behaviours:

  • Parameters are stored in Preferences
  • Defaults values are hard coded but no reset function exists

Implementation

Linked bugs, blueprints and wishlists