Difference between revisions of "Circle/Arc Toolbar"
Jump to navigation
Jump to search
Romain2Boss (talk | contribs) (→Overview: Adding screenshot) |
Romain2Boss (talk | contribs) (Add "Preferences" and updating functions from source code description) |
||
Line 8: | Line 8: | ||
* '''New'''/'''Change''': Current mode of the toolbar | * '''New'''/'''Change''': Current mode of the toolbar | ||
* '''Start''': | * '''Start''': The angle (in degrees) from the horizontal to the arc's start point | ||
* '''End''': | * '''End''': The angle (in degrees) from the horizontal to the arc's end point | ||
* '''Switch to segment''': | * '''Switch to segment''': Switch to segment (closed shape with two radii) | ||
* '''Switch to arc''': | * '''Switch to arc''': Switch to arc (unclosed shape) | ||
* '''Make the shape a whole ellipse''': | * '''Make the shape a whole ellipse''': Make the shape a whole ellipse, not arc or segment | ||
== Preferences == | |||
* /tools/shapes/arc/end: ''End'' parameter as Double | |||
* /tools/shapes/arc/open: Open/Close parameter as Boolean | |||
* /tools/shapes/arc/start: ''Start'' parameter as Double | |||
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 sp_arctb_defaults()] | |||
== Implementation == | == Implementation == |
Revision as of 17:03, 18 March 2012
The Circle/Arc Toolbar is a set of graphical widgets used to create and edit circles, ellipses and arcs.
Overview
Functions:
- New/Change: Current mode of the toolbar
- Start: The angle (in degrees) from the horizontal to the arc's start point
- End: The angle (in degrees) from the horizontal to the arc's end point
- Switch to segment: Switch to segment (closed shape with two radii)
- Switch to arc: Switch to arc (unclosed shape)
- Make the shape a whole ellipse: Make the shape a whole ellipse, not arc or segment
Preferences
- /tools/shapes/arc/end: End parameter as Double
- /tools/shapes/arc/open: Open/Close parameter as Boolean
- /tools/shapes/arc/start: Start parameter as Double
Actual behaviours:
- Parameters are stored in Preferences
- Defaults values (for reset) are hard coded in void sp_arctb_defaults()