Difference between revisions of "Rect Toolbar"
Jump to navigation
Jump to search
Romain2Boss (talk | contribs) (Created page with "The '''Rect Toolbar''' is a set of graphical widgets used to draw or edit a rectangle with or whithout rounded corners. == Overview == File:Rect-toolbar.png Function...") |
Romain2Boss (talk | contribs) (→Implementation: Updating with Toolbar breakdown files) |
||
Line 29: | Line 29: | ||
* [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/rect-toolbar.cpp src/widgets/rect-toolbar.cpp] | |||
* [http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/files/head%3A/src/widgets/rect-toolbar.h src/widgets/rect-toolbar.h] | |||
== Linked bugs, blueprints and wishlists == | == Linked bugs, blueprints and wishlists == |
Latest revision as of 18:43, 1 September 2012
The Rect Toolbar is a set of graphical widgets used to draw or edit a rectangle with or whithout rounded corners.
Overview
Functions:
- W: Width of rectangle
- H: Height of rectangle
- Rx: Horizontal radius of rounded corners
- Ry: Vertical radius of rounded corners
- Units
- Not rounded: Make corners sharp
Preferences
- /tools/shapes/rect/height: Width parameter as Double
- /tools/shapes/rect/rx: Horizontal radius parameter as Double
- /tools/shapes/rect/ry: Vertical radius parameter as Double
- /tools/shapes/rect/width: Height parameter as Double
Actual behaviours:
- Parameters are stored in Preferences
- Some defaults values (but not all) are hard coded in void sp_rtb_defaults()