Difference between revisions of "Circle/Arc Toolbar"

From Inkscape Wiki
Jump to navigation Jump to search
(→‎Overview: Adding screenshot)
(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 angle (used to create a pie)
+
* '''Start''': The angle (in degrees) from the horizontal to the arc's start point
* '''End''': End angle (used to create a pie)
+
* '''End''': The angle (in degrees) from the horizontal to the arc's end point
* '''Switch to segment''': If it's a pie, used to close the pie at its center
+
* '''Switch to segment''': Switch to segment (closed shape with two radii)
* '''Switch to arc''': If it's a pie, used to not close the pie at its center
+
* '''Switch to arc''': Switch to arc (unclosed shape)
* '''Make the shape a whole ellipse''': Change the pie to an 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

Circle-arc-toolbar.png

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:

Implementation

Linked bugs, blueprints and wishlists