116

A straight-forward method is the following: Select the object(s) to export. "Resize page to drawing or selection" (File → Document Properties) or Ctrl+Shift+R. "Invert selection" (Edit → Invert selection) or !, and Del all other objects. "Save As" with Ctrl+Shift+S. Select Optimized SVG as the format if you want to use it on the web. Not as quick as I ...


89

To modify the document bounding box: Go to File → Document Properties... (or press Shift +Ctrl + D) In the Custom size area on the Page tab, expand Resize Page to content... (or press Alt + Z) Click the Resize page to drawing or selection button (or press Alt + R) You can add margins if you like


76

Draw a line (Shift+F6) Open Fill and Stroke dialog (Shift+Ctrl+F) Select Stroke Style tab Choose an arrow for the Start Marker or End Marker Source: draw line arrows in inkscape


49

The hatching can be achieved by using pattern.Once you create a pattern,you can control the direction of hatching as required. Below are the steps to apply hatching to your drawing (I will apply this in a simple rectangle). Create a closed path for which hatching is required(I have used a simple rectangle) Now draw a line using pen tool and convert the line ...


44

Use the standard bezier tool to create three anchor points. Then hold shift and move the control handles to change the curvature of the bezier path. The final step is to set the Join type to Bevel Join.


43

The gap you see is due to an imperfect rendering by Inkscape and not necessarily a problem depending on how you export or use your SVG (as long as you cut precisely). The shadows however will likely cause problems, when cut up (which is the only way I can think of to make them right). Here is my solution to this. As an example, I cut up a plain bar, because ...


42

Select both (by clicking one object, holding shift, then clicking the other object), then select Path, then Difference. For me, I wanted to cut a left arrow out of a hexagon. I created a hexagon, duplicated the layer, shifted the top layer to the right, then selected both layers, then PATH / Difference.


40

Indeed Alt-click in often used by the Window Manager. So as a workaround, I often use one of these method : 1) The method described by Christian (move, select, undo) 2) Depending on the objects size, selecting with a zone, like : 3) Or the one I use the most, it's "Tab" to go through the objects. This may seem long & difficult, but as Objects are ...


40

When scaling an object with the mouse by dragging the corner handles it is quite handy to lock the aspect ration to preserve it. This is done with a small lock symbol in the top panel:


37

Yes! Here is the end result: Step by step: Create some flowed text by using the text tool to first drag a rectangle and then type. Separately, create a rectangle roughly around the text (really, the rectangle can be anywhere) With the rectangle selected, chose "Path" > "Linked Offset". Then grab the small diamond and drag it in to make a second, smaller ...


37

You need to use the "delete segment" button. In the node tool, select the segment you want to remove. In the second line of the top toolbar, look for an icon that has two nodes connected with a line at the top, a down arrow, and two separate nodes at the bottom: This will disconnect the nodes without deleting them. Here is the result:


36

Make sure there is not simply another object in front of your shape. Raise to top to see if that's the case Make sure it actually has a fill and/or stroke Make sure the opacity of fill and stroke is not 0 If the stroke/fill color is a gradient, make sure that it does not end outside of the shape Make sure the layer is visible Make sure the layer opacity ...


36

Make sure your design is entirely composed of paths. There can't be any groups or text objects, etc. Ok to have multiple path objects though. Draw a rectangle around the whole thing Select your design as well as the rectangle Choose "Path" > "Exclusion"


36

There are several locations in the settings that affect snapping to a grid. View Page Grid Document Properties Snap Controls Bar Preferences We will look at each of these. The images may look different for different operating systems, but the general settings should still be the same. View Page Grid This does not directly affect snapping to the grid, but ...


35

Joining curves (in Inkscape called "Paths") is really simple: select both paths with "edit paths" tool (F2). You can do it by clicking on one of them, and then holding shift and clicking another. select two nodes you want to join by drawing a selection rectangle around them. Select one of the options to join: either "join selected nodes" into one (which ...


34

Sure. Just start with a blank document, change the canvas size to whatever you want, and then save the document as templates/default.svg in your Inkscape config directory (~/.config/inkscape on Linux). Then restart Inkscape, and it should open with whatever document you just saved as the default template. You can also create your own document templates (...


34

After applying drop shadow effect, go to Filters-Filter editor dialog box.At the bottom of the dialog box there is Filter general settings tab for changing the co ordinates & dimensions. Adjust the value until you get a drop shadow following the path without any break. Image1-Drop shadow with default filter setting values Image2-Drop shadow after ...


33

I've tried under Windows with your version and with the most recent one and it works as usual. In order to maintain the border stroke while scaling the object, the first button should be up (in your screenshot seems to be down, i.e. the stroke is scaled with the object):


32

The easiest way I figured out is probably this: Draw a figure. Select the pattern from Fill and Stroke ("Füllung und Kontur"). Click Extensions > Colour > Replace colour .. (should be something like Erweiterungen > Farbe > Farbe ersetzen in German). Enter the hex code for your desired colour. Another way: Select Edit >> XML Editor. Expand svg:defs >> svg:...


31

That feature is called snapping. View → Show/Hide → Snap Controls Bar gives you a control bar whose first button allows you to deactivate snapping. The bar also allows you to activate and deactivate specific types of snapping. The one that annoys you sounds like Snap to bounding box corners. You can also toggle snapping with the % key. In older versions of ...


30

The fastest way to obtain such an image is to translate the rotation center of the initial object and then proceed manually by duplicating and applying a transformation (rotation in this case) to the last duplicate. For example, you can start with two circles, grouping them (Ctrl-G) and translating the rotation center (by selecting the group, clicking a ...


28

An alternative to DA01's answer: Select an object. Convert selected object's stroke to paths (Ctrl + Alt + C). Break apart the path (Ctrl + Shift + K). Delete the inside path by clicking somewhere outside, then clicking in the center and deleting.


28

You are correct--that "checked background" is how many programs indicate transparent areas. SVG files have a transparent background. Changing the background color is not part of the SVG standard, so changing the background color in Inkscape won't carry over to the SVG file when its viewed in a browser. There are a few ways to get a solid background color: ...


27

Edit: As of Inkscape 0.91, markers take the color of the object. Extensions and workarounds are no longer needed. This is one of the most frequently asked questions about Inkscape, so I'll just quote from their site: How do I change the color of markers (e.g. arrow ends)? By default, markers are black. You can change their color to match the color of ...


26

In the latest version of Inkscape (0.92.2 at this time), you can go to Edit → Resize Page to Selection or press Ctrl+Shift+R.


26

Ungroup your objects, if needed. Object → Transform → Scale. Select the desired scaling factor. Check apply to each object separately. Apply.


24

You haven't mentioned what OS you're running. I'm using Ubuntu, and I've been able to use librsvg2 successfully. If you have access to Ubuntu, here's what you can do. First, install librsvg2: sudo apt-get install librsvg2-bin Then, cd to the directory that has your SVGs (make sure it only has SVGs!) and use a command like the following: for old in *; do ...


24

You can use ImageMagick right away: convert -density 384 icon.svg -define icon:auto-resize icon.ico


23

You could probably try to "trace bitmap", using the "Multiple scans" with "Colors", with the "remove background" option, and choosing "2" scans. Then, click "Ok", select both the bitmap and the vector result : Then rightclick, and select "Set Clip" : Far from perfect, but it's a good start.


22

The symbol is like a clone: select the symbol and Edit > Clone > Unlink Clone (Shift+Alt+D), and you have a group, ungroup (Object > Ungroup, or Shift+Ctrl+G) and edit.


Only top voted, non community-wiki answers of a minimum length are eligible