Difference between revisions of "Star Toolbar"
Jump to navigation
Jump to search
Romain2Boss (talk | contribs) (Created page with "The '''Star Toolbar''' is a set of graphical widgets used to draw or edit star or regular polygon shapes. == Overview == File:Star-toolbar.png Functions: * '''Flats...") |
Romain2Boss (talk | contribs) (→Implementation: Updating with Toolbar breakdown files) |
||
Line 32: | Line 32: | ||
* [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/star-toolbar.cpp src/widgets/star-toolbar.cpp] | |||
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/star-toolbar.h src/widgets/star-toolbar.h] | |||
== Linked bugs, blueprints and wishlists == | == Linked bugs, blueprints and wishlists == |
Latest revision as of 18:44, 1 September 2012
The Star Toolbar is a set of graphical widgets used to draw or edit star or regular polygon shapes.
Overview
Functions:
- Flatsided: Type of shape
- Polygon: Regular polygon (with one handle) instead of a star
- Star: Star instead of a regular polygon (with one handle)
- Corners: Number of corners of a polygon or star
- Spoke ratio: Base radius to tip radius ratio
- Rounded: How much rounded are the corners (0 for sharp)
- Randomized: Scatter randomly the corners and angles
- Defaults: Reset shape parameters to defaults (use Inkscape Preferences > Tools to change defaults)
Preferences
- /tools/shapes/star/isflatsided: Flatsided parameter as Boolean
- /tools/shapes/star/magnitude: Corners parameter as Integer
- /tools/shapes/star/proportion: Spoke ratio parameter as Double
- /tools/shapes/star/randomized: Randomized parameter as Double
- /tools/shapes/star/rounded: Rounded parameter as Double
Actual behaviours:
- Parameters are stored in Preferences
- Defaults values (for reset) are hard coded in void sp_stb_defaults()