From: buliabyak Date: Wed, 9 May 2007 04:14:01 +0000 (+0000) Subject: mouseovered node as center of rotation/scale too X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;ds=sidebyside;h=089b6d2af563f06d146173be2a44ec3b85fc2c5c;p=inkscape.git mouseovered node as center of rotation/scale too --- diff --git a/doc/keys.html b/doc/keys.html index 5942e2cb5..f25944ed6 100644 --- a/doc/keys.html +++ b/doc/keys.html @@ -20,7 +20,7 @@ are configurable by the user; see the default.xml file for details on how to do supposed to work the same as corresponding regular keys. If you have a new shortcut idea, please contact the developers (by writing to the devel mailing list or by submitting an -RFE).

Contents: Tools | Dialogs: Open · Toggle visibility · Within a dialog | Controls bar: Access · Navigate · Change values | Canvas: Zoom · Preset zooms · Zoom history · Scroll (pan) · Guides and grid · Display mode | Palette | File | Window | Layers | Object: Undo/redo · Clipboard · Duplicate · Clone · Bitmaps · Patterns · Group · Z-order | Path: Convert to path · Boolean operations · Offsets · Combine · Simplify | Selector: Select (mouse) · Rubberband, touch selection · Select (keyboard) · Select within group, select under · Move (mouse) · Move (keyboard) · Transform (mouse) · Scale by handles · Scale (keyboard) · Rotate/skew by handles · Rotate (keyboard) · Flip · Rotation center · Cancel | Node tool: Select objects (mouse) · Select nodes (mouse) · Rubberband selection · Select nodes (keyboard) · Grow/shrink node selection · Move nodes (mouse) · Move nodes (keyboard) · Move node handle (mouse) · Scale handle (1 node selected) · Rotate handle (1 node selected) · Scale nodes (>1 nodes selected) · Rotate nodes (>1 nodes selected) · Flip nodes (>1 nodes selected) · Change segment(s) · Change node type · Join/break · Delete, create, duplicate · Reverse · Edit shapes · Cancel | Rectangle tool: Draw · Select · Resize by handles · Round corners by handles | Ellipse tool: Draw · Select · Edit by handles | Star tool: Draw · Select · Edit by handles | Spiral tool: Draw · Select · Edit by handles | Zoom tool | Pencil tool | Pen (Bezier) tool: Create nodes · Move last node · Create/modify segments · Finish · Cancel | Calligraphy | Paint Bucket | Gradient tool: Select objects · Create gradients · Select handles · Create/delete stops · Move handles · Reverse · Gradient editor | Dropper tool | Text tool: Select/create · Navigate in text · Flowed text (internal frame) · Flowed text (external frame) · Text on path · Edit text · Select text · Style selection · Letter spacing · Line spacing · Kerning and shifting · Rotate

+RFE).

Contents: Tools | Dialogs: Open · Toggle visibility · Within a dialog | Controls bar: Access · Navigate · Change values | Canvas: Zoom · Preset zooms · Zoom history · Scroll (pan) · Guides and grid · Display mode | Palette | File | Window | Layers | Object: Undo/redo · Clipboard · Duplicate · Clone · Bitmaps · Patterns · Group · Z-order | Path: Convert to path · Boolean operations · Offsets · Combine · Simplify | Selector: Select (mouse) · Rubberband, touch selection · Select (keyboard) · Select within group, select under · Move (mouse) · Move (keyboard) · Transform (mouse) · Scale by handles · Scale (keyboard) · Rotate/skew by handles · Rotate (keyboard) · Flip · Rotation center · Cancel | Node tool: Select objects (mouse) · Select nodes (mouse) · Rubberband selection · Select nodes (keyboard) · Grow/shrink node selection · Move nodes (mouse) · Move nodes (keyboard) · Move node handle (mouse) · Scale handle (1 node selected) · Rotate handle (1 node selected) · Scale nodes (>1 nodes selected) · Rotate nodes (>1 nodes selected) · Flip nodes (>1 nodes selected) · Change segment(s) · Change node type · Join/break · Delete, create, duplicate · Reverse · Edit shapes · Cancel | Rectangle tool: Draw · Select · Resize by handles · Round corners by handles | Ellipse tool: Draw · Select · Edit by handles | Star tool: Draw · Select · Edit by handles | Spiral tool: Draw · Select · Edit by handles | Zoom tool | Pencil tool | Pen (Bezier) tool: Create nodes · Move last node · Create/modify segments · Finish · Cancel | Calligraphy | Paint Bucket | Gradient tool: Select objects · Create gradients · Select handles · Create/delete stops · Move handles · Reverse · Gradient editor | Dropper tool | Text tool: Select/create · Navigate in text · Flowed text (internal frame) · Flowed text (external frame) · Text on path · Edit text · Select text · Style selection · Letter spacing · Line spacing · Kerning and shifting · Rotate

Tools

- + + - - + + + @@ -736,7 +738,7 @@ groups) with the same effect as Alt+click.) - + @@ -744,14 +746,14 @@ groups) with the same effect as Alt+click.) - + - + @@ -760,7 +762,7 @@ groups) with the same effect as Alt+click.) - + @@ -769,7 +771,7 @@ groups) with the same effect as Alt+click.) - + - + - + - + - + - + @@ -818,7 +820,7 @@ groups) with the same effect as Alt+click.) - + @@ -828,7 +830,7 @@ groups) with the same effect as Alt+click.) - + @@ -836,7 +838,7 @@ groups) with the same effect as Alt+click.) - + @@ -845,9 +847,9 @@ groups) with the same effect as Alt+click.) - + - + @@ -856,7 +858,7 @@ groups) with the same effect as Alt+click.) - + @@ -866,7 +868,7 @@ groups) with the same effect as Alt+click.) - + @@ -875,16 +877,16 @@ groups) with the same effect as Alt+click.) - + - + - + @@ -894,7 +896,7 @@ groups) with the same effect as Alt+click.) - + @@ -903,16 +905,16 @@ groups) with the same effect as Alt+click.) - + - + - + @@ -922,7 +924,7 @@ groups) with the same effect as Alt+click.) - + @@ -940,13 +942,13 @@ groups) with the same effect as Alt+click.) - + - + @@ -954,10 +956,10 @@ groups) with the same effect as Alt+click.) - + - + @@ -971,7 +973,7 @@ groups) with the same effect as Alt+click.) - + @@ -982,7 +984,7 @@ groups) with the same effect as Alt+click.) - + @@ -991,7 +993,7 @@ groups) with the same effect as Alt+click.) - + @@ -999,13 +1001,13 @@ groups) with the same effect as Alt+click.) - + - + @@ -1025,7 +1027,7 @@ groups) with the same effect as Alt+click.) - + @@ -1040,17 +1042,17 @@ groups) with the same effect as Alt+click.) - + - + - + @@ -1058,7 +1060,7 @@ groups) with the same effect as Alt+click.) - + @@ -1067,7 +1069,7 @@ groups) with the same effect as Alt+click.) - + @@ -1078,7 +1080,7 @@ groups) with the same effect as Alt+click.) - + @@ -1091,20 +1093,20 @@ groups) with the same effect as Alt+click.) - + - + - + @@ -1117,10 +1119,10 @@ groups) with the same effect as Alt+click.) - + - + @@ -1129,7 +1131,7 @@ groups) with the same effect as Alt+click.) - + @@ -1143,7 +1145,7 @@ groups) with the same effect as Alt+click.) - + @@ -1153,7 +1155,7 @@ groups) with the same effect as Alt+click.) - + @@ -1164,13 +1166,13 @@ groups) with the same effect as Alt+click.) - + - + @@ -1184,7 +1186,7 @@ groups) with the same effect as Alt+click.) - + @@ -1200,14 +1202,14 @@ groups) with the same effect as Alt+click.) - + - + @@ -1217,7 +1219,7 @@ groups) with the same effect as Alt+click.) - + @@ -1227,7 +1229,7 @@ groups) with the same effect as Alt+click.) - + @@ -1237,7 +1239,7 @@ groups) with the same effect as Alt+click.) - +

Tools

F1, @@ -710,7 +710,8 @@ groups) with the same effect as Alt+click.)

Scale nodes (>1 nodes selected)

These commands scale the selected nodes as if they were an "object", around the center of that object.
These commands scale the selected nodes as if they were an "object".
If mouse is over a node, that node becomes the axis of scaling; otherwise it scales around geometric center of selected nodes.
., >scale nodes up by the scale step
,, @@ -725,8 +726,9 @@ groups) with the same effect as Alt+click.)

Rotate nodes (>1 nodes selected)

These commands rotate the selected nodes as if they were an "object", around the center of that object.

Rotate nodes (>1 nodes selected)

These commands rotate the selected nodes as if they were an "object".
If mouse is over a node, that node becomes the axis of rotation; otherwise it rotates around geometric center of selected nodes.
[, ]rotate nodes by the angle step
The default angle step is 15 degrees. ] rotates clockwise, [ rotates counterclockwise.

Flip nodes (>1 nodes selected)

Flip nodes (>1 nodes selected)

These commands flip the selected nodes as if they were an "object", around the center of that object.
hflip nodes horizontally
vflip nodes vertically

Change segment(s)

Change segment(s)

Shift+Lmake line
Shift+Umake curve
These commands require that more than two adjacent nodes be selected.

Change node type

Change node type

Shift+Cmake cusp
Shift+Smake smooth
Shift+Ymake symmetric

Join/break

Join/break

Shift+Jjoin selected nodes
This requires that exactly two end nodes within the path be selected.
You can lock the position of one of the two joined nodes by hovering mouse over it.

Delete, create, duplicate

Delete, create, duplicate

Backspace, Deldelete selected node(s)
Ctrl+Backspace, @@ -791,25 +793,25 @@ groups) with the same effect as Alt+click.)

Reverse

Reverse

Shift+rreverse path direction

Edit shapes

Edit shapes

Node tool can also drag the handles of shapes (rectangles, ellipses, stars, spirals). Click on a shape to select it.
See the corresponding shape tools for their editing shortcuts, all of which also work in node tool.

Cancel

Cancel

Esccancel rubberband or move
Press Esc while mouse button is still down to cancel rubberband selection, node move, handle move, or handle move.

Rectangle tool

Rectangle tool

Draw

Draw

mouse dragdraw a rectangle
Ctrl+mouse dragmake a square or integer-ratio rectangle
This restricts rectangle so its height/width ratio is a whole number.

Select

Select

clickclick to select
Alt+click, Ctrl+Alt+clickselect under

Resize by handles

Resize by handles

mouse dragdrag a square handle to resize
Initially, the two resize (square) handles are in top left and bottom right corners.
Resize handles change the width and height of the rectangle in its own coordinate system, before any transforms are applied.

Round corners by handles

Round corners by handles

mouse dragdrag a circular handle to round corners
Initially, the two rounding handles are in the top right corner of the rectangle.
Ctrl+mouse draglock the corner circular
You can drag both handles for an elliptic rounded corner, or drag/click one with Ctrl to make it circular again.
Shift+clickremove corner rounding

Ellipse tool

Ellipse tool

Draw

Draw

mouse dragdraw an ellipse
Ctrl+mouse dragmake circle or integer-ratio ellipse
This restricts ellipse so its height/width ratio is a whole number.

Select

Select

clickclick to select
Alt+click, Ctrl+Alt+clickselect under

Edit by handles

Edit by handles

mouse dragresize, make arc or segment
Initially, the two resize handles are at the topmost and leftmost points; the two arc/segment handles are in the rightmost point.
Ctrl+mouse draglock circle (resize handles)
The default angle step is 15 degrees.
Shift+clickmake whole (arc/segment handles)

Star tool

Star tool

Draw

Draw

mouse dragdraw a star
Ctrl+mouse dragsnap star to angle steps
The default angle step is 15 degrees.

Select

Select

clickclick to select
Alt+click, Ctrl+Alt+clickselect under

Edit by handles

Edit by handles

mouse dragdrag a handle to vary the star shape
Ctrl+mouse dragkeep star rays radial (no skew)
Shift+mouse draground the star
Alt+click, Ctrl+Alt+clickremove randomization

Spiral tool

Spiral tool

Draw

Draw

mouse dragdraw a spiral
Ctrl+mouse dragsnap spiral to angle steps
The default angle step is 15 degrees.

Select

Select

clickclick to select
Alt+click, Ctrl+Alt+clickselect under

Edit by handles

Edit by handles

mouse dragroll/unroll from inside (inner handle)
Dragging the inner handle adjusts the "inner radius" parameter.
Alt+mouse dragconverge/diverge (inner handle)
Ctrl+mouse dragsnap handles to angle steps
The default angle step is 15 degrees. This works for both handles.

Zoom tool

Zoom tool

clickzoom in
Shift+clickzoom out
mouse dragzoom into the area

Pencil tool

Pencil tool

mouse dragdraw a freehand line
Shift+mouse dragadd to selected path
Shift+mouse dragtemporarily disable snapping
Shift also temporaily disables snapping to grid or guides when you are drawing with grid or guides on.

Pen (Bezier) tool

Pen (Bezier) tool

Create nodes

Create nodes

clickcreate a sharp node
If no path is being created, this starts a new path.
Shift+clickadd to selected path

Move last node

Move last node

These commands move the last created node (at the start of the red segment) while creating a path.
arrowsmove last node by the nudge distance
Shift+arrowsmove last node by 10x nudge distance

Create/modify segments

Create/modify segments

Ctrl+snap last segment to angle steps
This snaps the new node's angle, relative to the previous node, to angle steps (default 15 degrees).
Shift+Lmake last segment line

Finish

Finish

Enterfinish current line
right clickfinish current line
clickclickfinish current line

Cancel

Cancel

Esc, Ctrl+zcancel current line
Backspace, Delerase last segment of current line

Calligraphy

Calligraphy

mouse dragdraw a calligraphic line
Shift+mouse dragadd to selected path
Width and angle can be adjusted while drawing.
Escdeselect

Paint Bucket

Paint Bucket

clickfill a bounded area
Shift+clickadd to selected path
Shift+Ctrl+clickset stroke color
Ctrl+clicking an object sets its fill (or stroke with Shift) to the tool's current style; the object need not be selected

Gradient tool

Gradient tool

Select objects

Select objects

clickclick an object to select
Alt+clickselect under
Shift+clicktoggle selection

Create gradients

Create gradients

mouse dragcreate gradient
This creates gradient on selected objects. The Controls bar lets you select linear/radial and fill/stroke for the new gradient.
clickclickcreate default gradient

Select handles

Select handles

clickselect a handle
Shift+clickadd handle to selection
Tabselect next handle

Create/delete stops

Create/delete stops

Ctrl+Alt+clickcreate a stop
clickclickcreate a stop
Ctrl+Alt+click or double click on a gradient line creates a new intermediate stop

Move handles

Move handles

mouse dragmove selected handle(s)
arrowsmove selected handle by the nudge distance

Reverse

Reverse

Shift+rreverse gradient definition
This mirrors the stop positions of the current gradient without moving the gradient handles.

Gradient editor

Gradient editor

clickclickopen gradient editor
Double clicking a gradient handle opens the Gradient Editor with that gradient and the clicked handle chosen in the stops list.

Dropper tool

Dropper tool

clickpick fill color
Shift+clickpick stroke color
Ctrl+Ccopy color
This copies the color under cursor to the system clipboard, as text in RRGGBBAA format (8 hex digits).

Text tool

Text tool

Select/create

Select/create

clickcreate/select a text object
Clicking in an empty space or on a non-text creates a text object; now you can type your text.

Navigate in text

Navigate in text

arrowsmove cursor by one character
Ctrl+Left arrow, Ctrl+Right arrowmove cursor by one word

Flowed text (internal frame)

Flowed text (internal frame)

mouse dragcreate flowed text
Clicking and dragging in an empty space or on a non-text creates a flowed text object with internal frame.
mouse dragadjust frame size

Flowed text (external frame)

Flowed text (external frame)

Alt+Wflow text into frame
With a text object and a shape/path selected, this flows text into the shape/path.
Both remain separate objects, but are linked; editing the shape/path causes the text to reflow.

Text on path

Text on path

Shift+Dselect path from text
To find out which path this text is put on, select it and press Shift+D. The path will be selected.

Edit text

Edit text

To type + and - characters, use the main keyboard; keypad + and - are reserved for zoom (unless NumLock is on).
Enterstart a new line or paragraph
Enter in regular text creates new line; in flowed text it creates a new paragraph

Select text

Select text

mouse dragselect text
Left-dragging over a text object selects a text span.
Shift+arrowsselect text by character

Style selection

Style selection

Ctrl+Bmake selection bold
Ctrl+Imake selection italic
Also, you can use the Text&Font or Fill&Stroke dialogs to assign any style to text selection.

Letter spacing

Letter spacing

Alt+>expand line/paragraph by 1 pixel
Shift+Alt+>expand line/paragraph by 10 pixels
Alt+<contract line/paragraph by 1 pixel

Line spacing

Line spacing

Ctrl+Alt+>make the text object taller by 1 pixel
Shift+Ctrl+Alt+>make the text object taller by 10 pixels
Ctrl+Alt+<make the text object shorter by 1 pixel

Kerning and shifting

Kerning and shifting

Alt+arrowsshift characters by 1 pixel
Shift+Alt+arrowsshift characters by 10 pixels
These commands work when editing a regular text object. Kerning does not work in flowed text.

Rotate

Rotate

Ctrl+[, Ctrl+]rotate character(s) by 90 degrees
Alt+[, diff --git a/doc/keys.xml b/doc/keys.xml index 66a8dad54..5beb8efc2 100644 --- a/doc/keys.xml +++ b/doc/keys.xml @@ -706,7 +706,8 @@ groups) with the same effect as Alt+click.) Scale nodes (>1 nodes selected) -These commands scale the selected nodes as if they were an "object", around the center of that object. +These commands scale the selected nodes as if they were an "object". +If mouse is over a node, that node becomes the axis of scaling; otherwise it scales around geometric center of selected nodes. . > scale nodes up by the scale step , < scale nodes down by the scale step The default scale step is 2 px (SVG pixel units, not screen pixels). @@ -718,7 +719,8 @@ groups) with the same effect as Alt+click.) Rotate nodes (>1 nodes selected) -These commands rotate the selected nodes as if they were an "object", around the center of that object. +These commands rotate the selected nodes as if they were an "object". +If mouse is over a node, that node becomes the axis of rotation; otherwise it rotates around geometric center of selected nodes. [ ] rotate nodes by the angle step The default angle step is 15 degrees. ] rotates clockwise, [ rotates counterclockwise. [ ] rotate nodes by 1 pixel