Inkscape/Print version
From Wikibooks, the open-content textbooks collection
This is a guide to Inkscape--a vector illustration program that is open source and cross-platform. To get help while running Inkscape, choose Help → Tutorials in its menu.
[edit] Contents
[edit] About
[edit] About
Inkscape is a free vector graphics editor application. Its stated goal is to become a powerful graphic tool while being fully compliant with the XML, SVG and CSS standards.
Inkscape is primarily developed for Linux, but it is cross-platform and runs on Microsoft Windows, Mac OS X (under X11), and other Unix-like operating systems. As of 2007, Inkscape is under active development, with new features being added regularly. Inkscape's implementation of SVG and CSS standards is incomplete; most notably, it does not support SVG filter effects (with some exceptions, see below), animation, and SVG fonts. However, complete support for all three is on the roadmap.
Inkscape has good multi-lingual support particularly for complex scripts, something currently lacking in most commercial vector graphics applications.
[edit] History
Inkscape began in 2003 as a code fork of the Sodipodi project. Sodipodi, developed since 1999, was itself based on Gill, the work of Raph Levien.
The fork was led by a team of four former Sodipodi developers (Ted Gould, Bryce Harrington, Nathan Hurst, and MenTaLguY) who identified differences over project objectives, openness to third-party contributions, and technical disagreements as their reasons for forking. Inkscape, they claimed, would seek to focus development on implementing the complete SVG standard, whereas Sodipodi development had emphasized creating a general-purpose vector graphics editor, possibly at the expense of SVG.[1]
Since the fork, Inkscape has, among other things, changed from using the C to C++; changed to the GTK+ toolkit C++ bindings (gtkmm); redesigned the user interface and added a number of new features. Its implementation of the SVG standard has shown gradual improvement, but is still incomplete.
Rather than top-down governance, its developers claim to encourage an egalitarian culture where authority stems from an individual developer's abilities and active involvement in the project. As a result, the project places special emphasis on giving full access to its source code repository to all active developers, and on participation in the larger open source community (often in the form of inter-project initiatives and spinoff projects like the Open Clip Art Library). While the project founders are still well-represented in the decision-making process, many newcomers have also come to play prominent roles. Among them is "bulia byak", architect of the radical user interface changes that have given Inkscape its present appearance.
After Xara announced plans to open source their own drawing application Xara Xtreme, they expressed interest in working closely with Inkscape to find ways the two projects can share code, coordinate efforts, and make open source graphics superior to anything available in the proprietary world.
Inkscape is currently a Google Summer of Code project.[2]
[edit] Features
[edit] Object creation
- Drawing:
- Pencil tool (freehand drawing with stroked paths)
- Pen tool (creating paths with Bezier curves and straight lines)
- Calligraphy tool (freehand drawing with calligraphic strokes, graphics tablet pressure/angle support)
- Shape tools:
- Rectangles (optionally with rounded corners)
- Ellipses (optionally circles, arcs, segments)
- Stars/polygons (optionally rounded or randomized)
- Spirals
- Text tool (regular, multiline or flowed text)
- Linked bitmap images, either imported or rasterized from selected objects (a separate utility for embedding linked images comes with the program)
- Clones ("live" linked copies of objects). Other programs refer to similar functionality as "symbols".
[edit] Object manipulation
- Affine transformations (moving, scaling, rotating, skewing), both interactively and by specifying numeric values
- Z-order operations
- Grouping objects, with a way to "select in group" without ungrouping, or "enter the group" making it a temporary layer
- Layers, with a way to lock and/or hide individual layers, rearrange them, etc; layers can form a hierarchical tree
- Copying and pasting objects
- Alignment and distribution commands, including grid arrange, randomization, unclumping
- A tool to create patterns of clones, using wallpaper symmetries plus arbitrary scales, shifts, rotates, and color changes, optionally randomized
- Grid and guide snapping
[edit] Styling objects
- Color selector (RGB, HSL, CMYK, color wheel), color palette, picker ("dropper") tool
- Fill opacity, stroke opacity, master opacity, gradient stop opacity
- Gradients: linear and elliptic, may have multiple stops; can be edited on canvas with draggable and mergeable handles
- Pattern fills made from any objects
- 7 filter effects
- feGaussianBlur - Gaussian blur
- feImage - used for using an external raster image
- feBlend - used for object blending other than via alpha (development version only)
- feComposite - used for altering one object, via another (development version only)
- feConvolveMatrix - (development version only)
- feBlend - used for object blending other than via alpha (development version only)
- feOffset - used to offset the output relative to the input (development version only)
- The development version also supports the rendering of some other filters (but does not support editing them through the UI) (e.g. Diffuse lighting)
- Masks and clipping paths
- Dashed strokes, with predefined dash patterns
- Path markers (e.g. arrowheads)
- Ability to copy/paste style between objects
[edit] Operations on paths
- Node editing: moving nodes and Bezier curve handles, node alignment and distribution, scaling and rotating node groups, "node sculpting" (proportional editing of multiple nodes)
- Converting to path (for text objects or shapes), including converting stroke to path
- Boolean operations (union, intersection, difference, exclusion, division)
- Path simplification, with variable threshold
- Path insetting and outsetting, including dynamic and linked offset objects
- Clipping paths (non-destructive clipping)
- Bitmap tracing (both color and b/w)
[edit] Text support
- Multi-line text (SVG 1.0/1.1 <text>)
- Flowed text in frame(s) (<flowRoot>, formerly proposed for SVG 1.2)
- Full on-canvas editability, including styled text spans
- Uses any outline fonts installed on the system
- Can use any scripts and languages supported by the Pango library including complex scripts (e.g. Hebrew, Arabic, Thai, Tibetan etc.)
- Kerning, letterspacing, linespacing adjustments
- Text on path (both text and path remain editable)
[edit] Rendering
- 256x (25600%) maximum zoom
- Fully anti-aliased display
- Alpha transparency support for display and PNG export
- Outline (wireframe) mode
- Complete "as you drag" rendering of objects during interactive transformations
[edit] Miscellaneous
- Connector tool for diagrams
- automatic routing of connectors to avoid intersections with objects
- automatic graph layout functionality to automatically arrange networks of objects and connectors
- Collaborative editing over a network (whiteboard)
- Live watching and editing the document tree in the XML editor
- PNG export
- PostScript and PDF export (with limitations, e.g. pattern fills are not exported as of version 0.45)
- Command line options for export, conversions, and analysis of SVG files
- RDF metadata (authorship, date, license, etc.)
- Extension support
- User interface is translated in more than 40 languages
[edit] Interface and usability
One of the priorities of the Inkscape project is interface consistency and usability. This includes efforts to follow the GNOME Human interface guidelines compliance, universal keyboard accessibility, and convenient on-canvas editing. Inkscape has achieved significant progress in usability since the project started.
The number of floating dialog boxes has been reduced, with their functions available using keyboard shortcuts or in the docked toolbars in the editing window. The tool controls bar at the top of the window always displays the controls relevant to the current tool.
All transformations (not only moving but also scaling and rotating) have keyboard shortcuts with consistent modifiers (e.g. Alt transforms by 1 screen pixel at the current zoom, Shift multiplies the transformation by 10, etc.); these keys work on nodes in Node tool as well as on objects in Selector. The most common operations (such as transformations, zooming, z-order) have convenient one-key shortcuts.
Inkscape provides floating tooltips and status bar hints for all buttons, controls, commands, keys, and on-canvas handles. It comes with a complete keyboard and mouse reference (in HTML and SVG) and several interactive tutorials in SVG.
The interface of Sodipodi (Inkscape's predecessor) was partly based on those of CorelDRAW and GIMP. The current Inkscape interface has been partially influenced by that of Xara Xtreme.
[edit] References
[edit] External links
- Official site
- GnomeDesktop.org: Inkscape news
- On-line Book: A Guide to Inkscape
- Inkscape Wiki
- A gallery of art created in Inkscape
- Inkscape 0.42.2 vs. FreeHand MXa
- Inkscape review: It's all in the UI
[edit] Introduction
[edit] Vector graphics
A vector image is an image composed by path and geometrical elements, all editable and easily scalable. This is very different from raster (or bitmap) images, which are created from a grid of colored squares. Bitmaps suffer from "pixellation" when scaled larger, while vectors can be scaled to any size, and won't suffer any degradation in quality.
Some graphics programs, such as the GIMP, are bitmap editors. Inkscape is a vector editor. With Inkscape, you can create and edit vector graphics, and save them as SVG (Scalable Vector Graphics) files. SVG is an open standard designed by the World Wide Web Consortium (W3C), that uses XML to create images.
[edit] The Layout
When you load inkscape you will see the following:
Here are some quick explanations of what each button does:
Select and Transform Objects (F1):
From this option, you can, select, move, scale, rotate, and skew objects
Edit Path nodes or control handles (F2)
This tool is designed for manipulating the geometry of objects
Zoom in or Out(F3)
Allows you to access a wide set of zoom operations
Create Rectangles or Squares(F4)
A tool for creating and manipulating rectangles, squares, circles, and ellipses
[edit] Shape Tools
You will need to know how to draw basic shapes before you can draw more complex shapes. This page will teach you how to draw these shapes. The shape tools are useful because they allow you to make and manipulate basic forms easily.
All shapes have control handles that can be dragged to manipulate various aspects. Sometimes it's better to use the shape's resize handles, instead of the Selector's generic resize abilities. While the Selector resizes relative to the document, the shape tools will resize relative to the object. Experiment with both to see which works best for you. (Use Ctrl-Z to undo any changes you don't want to keep.) To restrain the resize handles, Ctrl-drag them. This limits movement to 15-degree steps. To change the step size, go to File > Inkscape Preferences and choose Steps.
[edit] Rectangles
Keyboard Shortcut - F4 or R
To draw a rectangle, select the rectangle tool and drag from the top left to the bottom right. Hold down Ctrl while dragging to create a ratio-proportionate rectangle (e.g. a square). Hold Shift while dragging to draw the rectangle from its center.
Rectangles have four handles: the square ones control the size and aspect ratio, the round ones control rounding of corners. (Shift-click the handle to remove rounding.) One rounding handle is vertical, and makes rectangles more circular; the other is horizontal, and makes rectangles more elliptical. Play around with these to see how they work together to get the rounding you want.
Ctrl-drag the resize handles to preserve the rectangle's width, height, or width-to-height ratio.
[edit] 3D Boxes
The 3D Box tool is an easy way to create a 3-dimensional rectangle. To select only one side of a 3D box, Ctrl-click it.
[edit] Ellipses
Keyboard shortcut - F5 or E
To draw an ellipse, circle, or an arc, select the ellipse tool (looks like a ellipse), and drag from the top left to the bottom right. The ellipse tool has four handles: two rectangular ones control the size and aspect ratio; two circular ones control the angle of the arc. Dragging the circular handles outside the ellipse makes a segment; dragging them inside creates an arc. Alt-click one of the circular handles to completely close the ellipse.
[edit] Stars and Polygons
Keyboard Shortcut - Shift-8
To switch between star and polygon, click the star-shaped or polygon-shaped icon in the Tool Controls bar of the Star/Polygon tool.
Stars and polygons have two handles: one outer handle, for stretching and rotation, and one inner handle, for skewing. Ctrl-drag the outer handle in order to stretch without rotating, and Ctrl-drag the inner handle to change the ratio of the two handles without skewing.
[edit] Spirals
Keyboard shortcut - F9 or I
To draw a spiral, select the spiral tool and draw, observing the results. The spiral has two handles at each end of it-an inner one and an outer one. Dragging the handles lengthens and shortens the spiral.
Shift-drag the outer handle to scale and rotate the spiral.
Alt-drag the inner handle to change the divergence (distance between the loops). To make the distance really big, hold Alt and move the inner handle first towards the center, and then further in the same direction beyond the center, and possibly beyond the external boundary of the spiral. Spirals with a divergence less than 1 are denser towards the edges; ones with divergence greater than 1 are denser towards the center. To reset divergence, Alt-click the handle. Shift-click the handle to return it to the center.
Experiment with the handles and the Shift and Alt keys to get a grip on the tool.
[edit] Fill and Stroke
All shapes have a fill and a stroke. (One exception to this is the spiral, which only has a stroke.) The stroke is the outline of the shape. The fill is the area inside the shape. To set fill and stroke colors, select the shape and go to Object > Fill and Stroke, or press Ctrl-Shift-F.
[edit] Bitmap images
To insert a bitmap image—PNG or JPEG, paste it from the clipboard or drag and drop a bitmap file from the desktop. In this way, the images are only linked to, not embedded.
To turn some or all of the linked bitmap images into embedded images, use in menu Effects > Images > Embed images.
[edit] Path Drawing Tools
The next three buttons as we go downwards are used for drawing paths. A path is a mathematical curve that is specified by a number of points that the path must curve through. Taking them out of order, lets look at the middle one, the bezier curve tool.
[edit] Bezier Curve tool
Above is an example of a bezier curve. You can see two nodes in this view. These are the start and end nodes of the curve. But there are other nodes that you cannot see. These determine how the line curves between the end nodes. In order to see those nodes you need to click on the node button.
[edit] Node tool
Clicking on the node tool reveals another node in the middle of the curve.
If you then click on the middle node you will see the bezier handles appear.
These handles allow you to change the shape of the curves between the nodes. Notice that a list of node tools appear at the top. You can use these to change the nodes. We will not go into detail about these tools in this beginners tutorial.
The node tool can be used on all the objects created with the other tools to reveal their nodes.
[edit] More on the drawing tools
The other two drawing tools also create paths. The top tool of the three is the scribble tool. Use it like a pencil. The computer will calculate all the nodes and beziers for you. Closed paths can be created by drawing a loop. (With the bezier tool, click on the start node to close the curve).
The last tool in the group is the calligraphy tool. It allows you to do calligraphic writing. The pen creates closed loops in a realistic pen nib like way. Because of this many graphic artists like to draw with this pen all the time.
[edit] Other Tools
[edit] Selection tool
This tool allows you to select objects, resize them and move them about. If you click twice on an object with the selection tool, the handles change and you are able to rotate an object. Click a third time to switch to the object's tool.
[edit] Zoom tool
This tool looks like a magnifying glass with a + sign in it. Drag the tool over an area to zoom in. Shift and click to zoom out again.
You can zoom in and out with the + and - keys, respectively. (These keys are to the left of the Backspace key, and on the right side of the numeric keypad.) Another shortcut to zoom in is Ctrl-middle click or Ctrl-right click. (Shift-Ctrl-middle click or Shift-Ctrl-right click zooms out.)
Inkscape keeps a record of your previous zoom levels. To go back to a zoom level, use `; to go ahead to a zoom level, use Shift-`.
[edit] Text tool
Keyboard Shortcut - F8 or T
Looks like a letter A. Click and drag an area where you want your text to go, then start typing! If the letters are too small, click on the select button, then drag the handles to make it bigger. There are a lot of things that you can do with text that are beyond the scope of this beginners tutorial.
[edit] Connector tool
Use this to draw a connection between two objects. For example, a drawing and a label.
The nice thing about using this tool is that if you decide to move the objects about on the canvas, the connector still maintains the connection.
[edit] Gradient tool
Click and drag on an object and you will create a gradient from full colour to full transparency.
[edit] Colour Sampler tool
Use this tool to sample a colour on the screen.
[edit] Making a Tomato
We want to make a juicy and plump tomato. Mouthwatering to look at, we really want to bring out product to life.
NOTE:In some versions SHIFT + CRTL + F is replaced by CRTL + ALT + F to access the attributes of an object
- Using the Circle tool draw a circle on the page
- With the circle selected, press SHIFT + CRTL + F to go to its attributes
- Change the Opacity to 80%
- Change the colour to a nice tomato red
- With the circle tool again, draw an ellipse, the same width as the tomato, below the tomato, this will be our shadow
- With the ellipse selected, press SHIFT + CRTL + F
- Change the blur to 20%, you can check the results as you move the slider.
- To add the leaves, select the calligraphy tool and change the colour to green
- In the calligraphy tool, change the Thinning attribute to 0.90
- Scribble the leaves on, if you aren't satisfied, delete them and try again.
- select the main body of the tomato and press CTRL + D, this will make an exact copy of the tomato directly over the original
- Select this new copy and press SHIFT + CRTL + F
- Change the Alpha channel to 50%
- Change the colour to white, you should now have a hazy looking tomato
- select the 'haze' and press CTRL + SHIFT + C, this will change the haze from being a circle to allow you to change its shape more vigorously
- With the Node editing tool select the haze and using the square handles crop the haze to look like a reflection. If you want to add more square handles to the haze just double click.
- Sit back and admire your work
[edit] Appendix:Reference
[edit] Shortcuts
[edit] Glossary
This is a glossary of the book.
| Contents: | Top - 0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|---|
[edit] B
- bezier curve
- TODO
[edit] C
- connector
- A line connecting two objects, one which sticks to them even when they move.
[edit] G
- gradient
- TODO
[edit] H
- handle
- A small rectangle or circle that enables the user to control shapes.
[edit] N
- node
- A point on a curve at which the curve can be manipulated.
[edit] P
- path
- TODO
[edit] Links
[edit] See also
- Help:Tutorial for Vectorial graphism — a basic tutorial on Inkscape; 3400 words,
- Help:Inkscape#Saving files in Inkscape
- Help:Text and Inkscape — 380 words
[edit] Links
- Inkscape — official web page
- Official User Documentation — licensed under GNU GPL V2[3]
- Manual at flossmanuals.net — licensed under GNU GPL V3
- Inkscape Manual by Tavmjong Bah — available without paying ony for personal use
- Inkscape drawings on DeviantArt





