Difference between revisions of "Circle/Arc Toolbar"
Jump to navigation
Jump to search
Romain2Boss (talk | contribs) m (moved Circle/Arc Toolbox to Circle/Arc Toolbar) |
Romain2Boss (talk | contribs) (→Implementation: Updating with Toolbar breakdown files) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Overview == | == Overview == | ||
[[File:Circle-arc-toolbar.png]] | |||
Functions: | Functions: | ||
* '''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 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 sp_arctb_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/arc-toolbar.cpp src/widgets/arc-toolbar.cpp] | |||
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/arc-toolbar.h src/widgets/arc-toolbar.h] | |||
== Linked bugs, blueprints and wishlists == | == Linked bugs, blueprints and wishlists == | ||
* [https://blueprints.launchpad.net/inkscape?searchtext=circle+arc+toolbar Blueprints] | * [https://blueprints.launchpad.net/inkscape?searchtext=circle+arc+toolbar Blueprints] | ||
* [https://bugs.launchpad.net/inkscape/+bugs?field. | * [https://bugs.launchpad.net/inkscape/+bugs?field.searchtext=circle+arc+toolbar Bugs, Works in progress and Wishlists] | ||
[[Category:Toolbars]] | [[Category:Toolbars]] |
Latest revision as of 18:41, 1 September 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()