Tutorial | Basis Deze handleiding demonstreert het basisgebruik van Inkscape. Dit is een gewoon Inkscape document dat je kan bekijken, wijzigen, kopiĆ«ren of bewaren. The Basic Tutorial covers canvas navigation, managing documents, shape tool basics, selection techniques, transforming objects with selector, grouping, setting fill and stroke, alignment, and z-order. For more advanced topics, check out the other tutorials in the Help menu. Het canvas verschuiven There are many ways to pan (scroll) the document canvas. Try Ctrl+arrow keys to scroll by keyboard. (Try this now to scroll this document down.) You can also drag the canvas by the middle mouse button. Or, you can use the scrollbars (press Ctrl+B to show or hide them). The wheel on your mouse also works for scrolling vertically; press Shift with the wheel to scroll horizontally. In- of uitzoomen The easiest way to zoom is by pressing - and + (or =) keys. You can also use Ctrl+middle click or Ctrl+right click to zoom in, Shift+middle click or Shift+right click to zoom out, or rotate the mouse wheel with Ctrl. Or, you can click in the zoom entry field (in the bottom right corner of the document window), type a precise zoom value in %, and press Enter. We also have the Zoom tool (in the toolbar on left) which lets you to zoom into an area by dragging around it. Inkscape also keeps a history of the zoom levels you've used in this work session. Press the ` key to go back to the previous zoom, or Shift+` to go forward. Inkscape gereedschappen De verticale knoppenbalk links toont Inkscape's teken- en bewerkgereedschappen. In het bovenste gedeelte van het venster onder het menu vind je de Opdrachtenbalk met algemene knoppen en de knoppenbalk Gereedschapsdetails met knoppen die specifiek zijn voor elk gereedschap. De statusbalk onderaan het scherm toont bruikbare hints en boodschappen tijdens het werken met Inkscape. Many operations are available through keyboard shortcuts. Open Helpā‡’Keys and Mouse Reference to see the complete reference. Aanmaken en beheren van documenten To create a new empty document, use Fileā‡’New or press Ctrl+N. To create a new document from one of Inkscape's many templates, use Fileā‡’New from Templateā€¦ or press Ctrl+Alt+N To open an existing SVG document, use Fileā‡’Open (Ctrl+O). To save, use Fileā‡’Save (Ctrl+S), or Fileā‡’Save As (Shift+Ctrl+S) to save under a new name. (Inkscape may still be unstable, so remember to save often!) Inkscape gebruikt het SVG-formaat (Scalable Vector Graphics) voor zijn bestanden. SVG is een open standaard die breed ondersteund wordt door grafische software. SVG-bestanden zijn gebaseerd op XML en kunnen bewerkt worden met elke tekst of XML-editor (buiten Inkscape). Behalve SVG, kan Inkscape importeren en exporteren naar diverse andere formaten (EPS, PNG). Inkscape opens a separate document window for each document. You can navigate among them using your window manager (e.g. by Alt+Tab), or you can use the Inkscape shortcut, Ctrl+Tab, which will cycle through all open document windows. (Create a new document now and switch between it and this document for practice.) Note: Inkscape treats these windows like tabs in a web browser, this means the Ctrl+Tab shortcut only works with documents running in the same process. If you open multiple files from a file browser or launch more than one Inkscape process from an icon it will not work. Vormen maken Tijd voor enkele mooie vormen! Klik op het Rechthoek-gereedschap in de gereedschappenbalk (of druk op F4) en klik-en-sleep, hetzij in een nieuw document of onmiddellijk hier: Zoals je kan zien, zijn rechthoeken standaard blauw met een zwarte lijn (rand), en volledig opaak. Hieronder zien we hoe we dat kunnen veranderen. Met andere gereedschappen, kan je ook ellipsen, sterren en spiralen maken: Deze gereedschappen zijn bekend onder de gemeenschappelijke noemer vormgereedschappen. Elke vorm die je maakt, toont een of meer diamandvormige handvatten; tracht deze te verslepen en zie hoe de vorm verandert. Het gereedschapspaneel voor een vormgereedschap is een andere weg om een vorm aan te passen; deze panelen beĆÆnvloeden de huidig geselecteerde vormen (bv. deze die handvatten vertonen) en stellen standaardwaarden in die gelden voor nieuw aangemaakte vormen. To undo your last action, press Ctrl+Z. (Or, if you change your mind again, you can redo the undone action by Shift+Ctrl+Z.) Verplaatsen, schalen en draaien Het meest gebruikte Inkscape gereedschap is het selectie-gereedschap. Klik op de bovenste knop (met de pijl) op de knoppenbalk of druk F1 of Spatie. Nu kan je elk object op het canvas selecteren. Klik op de onderstaande rechthoek. Je zal acht pijlvormige handvatten zien verschijnen rond het object. Nu kan je: Move the object by dragging it. (Press Ctrl to restrict movement to horizontal and vertical.) Scale the object by dragging any handle. (Press Ctrl to preserve the original height/width ratio.) Klik nu opnieuw op de rechthoek. De handvatten veranderen. Nu kan je: Rotate the object by dragging corner handles. (Press Ctrl to restrict rotation to 15 degree steps. Drag the cross mark to position the center of rotation.) Skew (shear) the object by dragging non-corner handles. (Press Ctrl to restrict skewing to 15 degree steps.) Tijdens het gebruik van het selectie-gereedschap kan je ook numerieke bewerkingsvelden in de gereedschappenbalk (boven het canvas) gebruiken voor het isntellen van exacte waarden voor coƶrdinaten (X en Y) en groote (B and H) van de selectie. Transformaties met behulp van het toetsenbord Een van Inkscape's kenmerken is, in tegenstelling tot andere bewerkingspakketten voor vectorafbeeldingen, de nadruk op toegankelijkheid via het toetsenbord. Er is bijna geen commando of actie die niet mogelijk is via het toetsenbord. Objecttransformaties zijn daarop geen uitzondering. You can use the keyboard to move (arrow keys), scale (< and > keys), and rotate ([ and ] keys) objects. Default moves and scales are by 2 px; with Shift, you move by 10 times that. Ctrl+> and Ctrl+< scale up or down to 200% or 50% of the original, respectively. Default rotates are by 15 degrees; with Ctrl, you rotate by 90 degrees. However, perhaps the most useful are pixel-sizetransformations, invoked by using Alt with the transform keys. For example, Alt+arrows will move the selection by 1 pixel at the current zoom (i.e. by 1 screen pixel, not to be confused with the px unit which is an SVG length unit independent of zoom). This means that if you zoom in, one Alt+arrow will result in a smaller absolute movement which will still look like one-pixel nudge on your screen. It is thus possible to position objects with arbitrary precision simply by zooming in or out as needed. Similarly, Alt+> and Alt+< scale selection so that its visible size changes by one screen pixel, and Alt+[ and Alt+] rotate it so that its farthest-from-center point moves by one screen pixel. Note: Linux users may not get the expected results with the Alt+arrow and a few other key combinations if their Window Manager catches those key events before they reach the inkscape application. One solution would be to change the WM's configuration accordingly. Meervoudige selecties You can select any number of objects simultaneously by Shift+clicking them. Or, you can drag around the objects you need to select; this is called rubberband selection. (Selector creates rubberband when dragging from an empty space; however, if you press Shift before starting to drag, Inkscape will always create the rubberband.) Practice by selecting all three of the shapes below: Now, use rubberband (by drag or Shift+drag) to select the two ellipses but not the rectangle: Elk individueel object in een selectie vertoont een selectie-aanduiding ā€” standaard gestreept rechthoekig frame. Deze aanduidingen maken het eenvoudig om in een oogopslag te zien wat geselecteerd is en wat niet. Bijvoorbeeld, indien je beide ellipsen en de rechthoek selecteert zou het zonder de selectie-aanduidingen erg moeilijk zijn om te raden of de ellipsen geselecteerd zijn of niet. Shift+clicking on a selected object excludes it from the selection. Select all three objects above, then use Shift+click to exclude both ellipses from the selection leaving only the rectangle selected. Pressing Esc deselects any selected objects. Ctrl+A selects all objects in the current layer (if you did not create layers, this is the same as all objects in the document). Groeperen Verschillende objecten kunnen gecombineerd worden in een groep. Een groep gedraagt zich als een enkel object tijdens het slepen of transformeren. Hieronder zijn de drie objecten links onafhankelijk; dezelfde drie objecten rechts zijn gegroepeerd. Tracht de groep te verslepen. To create a group, you select one or more objects and press Ctrl+G. To ungroup one or more groups, select them and press Ctrl+U. Groups themselves may be grouped, just like any other objects; such recursive groups may go down to arbitrary depth. However, Ctrl+U only ungroups the topmost level of grouping in a selection; you'll need to press Ctrl+U repeatedly if you want to completely ungroup a deep group-in-group. You don't necessarily have to ungroup, however, if you want to edit an object within a group. Just Ctrl+click that object and it will be selected and editable alone, or Shift+Ctrl+click several objects (inside or outside any groups) for multiple selection regardless of grouping. Try to move or transform the individual shapes in the group (above right) without ungrouping it, then deselect and select the group normally to see that it still remains grouped. Vulling en lijn Probably the simplest way to paint an object some color is to select an object, and click a swatch in the palette below the canvas to paint it (change its fill color). Alternatively, you can open the Swatches dialog from the View menu (or press Shift+Ctrl+W), select an object, and click a swatch to paint it (change its fill color). More powerful is the Fill and Stroke dialog from the Object menu (or press Shift+Ctrl+F). Select the shape below and open the Fill and Stroke dialog. Je zal zien dat het dialoogvenster drie tabbladen heeft: Vullen, Lijnkleur en Lijnstijl. Het tabblad Vullen laat je toe om de vulling (binnenzijde) van het/de geselecteerde object(en) te bewerken. Door gebruik te maken van de knoppen in dit tabblad, kan je het type vulling selecteren, inclusief geen vulling (de knop met de X), egale vulkleur, maar ook lineaire en radiale kleurverlopen. Voor de bovenstaande vorm zal de knop Egale kleur geactiveerd zijn. Verder zie je een aantal kleurselectiesystemen, elk in hun eigen tabblad: RGB, TVL, CMYK en Wiel. Misschien de meest handige is het wiel, waar je kan draaien aan de driehoek om een tint te selecteren en vervolgens een kleurnuance van de tint in de driehoek. Elk kleurselectiesysteem bevat een schuifbalk om de alfa (transparantie) van de geselecteerde objecten in te stellen. Wanneer je een object selecteert, wordt de kleurselectie geupdated om de huidige vulling en lijn weer te geven (voor meerdere geselecteerde objecten toont het dialoogvenster hun gemiddelde kleur). Oefen met deze voorbeelden of creĆ«er je eigen vormen: Met behulp van het tabblad Lijnkleur kan je de lijn (rand) van een object verwijderen, de kleur en transparantie ervan instellen: Het laatste tabblad, Lijnstijl, laat je toe om de breedte en andere parameters van de lijn in te stellen: Tot slot kan je in plaats van een egale kleur ook gebruik maken van kleurverlopen voor vullingen of lijnen: When you switch from flat color to gradient, the newly created gradient uses the previous flat color, going from opaque to transparent. Switch to the Gradient tool (Ctrl+F1) to drag the gradient handles ā€” the controls connected by lines that define the direction and length of the gradient. When any of the gradient handles is selected (highlighted blue), the Fill and Stroke dialog sets the color of that handle instead of the color of the entire selected object. Yet another convenient way to change a color of an object is by using the Dropper tool (F7). Just click anywhere in the drawing with that tool, and the picked color will be assigned to the selected object's fill (Shift+click will assign stroke color). Duplicatie, uitlijning en verdeling One of the most common operations is duplicating an object (Ctrl+D). The duplicate is placed exactly above the original and is selected, so you can drag it away by mouse or by arrow keys. For practice, try to fill the line with copies of this black square: Chances are, your copies of the square are placed more or less randomly. This is where the Align and Distribute dialog (Shift+Ctrl+A) is useful. Select all the squares (Shift+click or drag a rubberband), open the dialog and press the ā€œCenter on horizontal axisā€ button, then the ā€œMake horizontal gaps between objects equalā€ button (read the button tooltips). The objects are now neatly aligned and distributed equispacedly. Here are some other alignment and distribution examples: Z-volgorde The term z-order refers to the stacking order of objects in a drawing, i.e. to which objects are on top and obscure others. The two commands in the Object menu, Raise to Top (the Home key) and Lower to Bottom (the End key), will move your selected objects to the very top or very bottom of the current layer's z-order. Two more commands, Raise (PgUp) and Lower (PgDn), will sink or emerge the selection one step only, i.e. move it past one non-selected object in z-order (only objects that overlap the selection count, based on their respective bounding boxes). Oefen het gebruik van deze commando's door de z-volgorde van onderstaande objecten om te keren, zodanig dat de meest linkse ellips bovenaan ligt en de meest rechtse onderaan: A very useful selection shortcut is the Tab key. If nothing is selected, it selects the bottommost object; otherwise it selects the object above theselected object(s) in z-order. Shift+Tab works in reverse, starting from the topmost object and proceeding downwards. Since the objects you create are added to the top of the stack, pressing Shift+Tab with nothing selected will conveniently select the object you created last. Practice the Tab and Shift+Tab keys on the stack of ellipses above. Selecteren onder iets en verslepen selectie Wat moet je doen indien het object dat je nodig hebt verborgen is achter een ander object? Je kan het onderste object nog zien, indien het bovenste (partieel) transparant is, maar het klikken hierop selecteert het bovenste object, niet datgene dat je nodig hebt. This is what Alt+click is for. First Alt+click selects the top object just like the regular click. However, the next Alt+click at the same point will select the object below the top one; the next one, the object still lower, etc. Thus, several Alt+clicks in a row will cycle, top-to-bottom, through the entire z-order stack of objects at the click point. When the bottom object is reached, next Alt+click will, naturally, again select the topmost object. [If you are on Linux, you might find that Alt+click does not work properly. Instead, it might be moving the whole Inkscape window. This is because your window manager has reserved Alt+click for a different action. The way to fix this is to find the Window Behavior configuration for your window manager, and either turn it off, or map it to use the Meta key (aka Windows key), so Inkscape and other applications may use the Alt key freely.] This is nice, but once you selected an under-the-surface object, what can you do with it? You can use keys to transform it, and you can drag the selection handles. However, dragging the object itself will reset the selection to the top object again (this is how click-and-drag is designed to work ā€” it selects the (top) object under cursor first, then drags the selection). To tell Inkscape to drag whatis selected now without selecting anything else, use Alt+drag. This will move the current selection no matter where you drag your mouse. Practice Alt+click and Alt+drag on the two brown shapes under the green transparent rectangle: Selecting similar objects Inkscape can select other objects similar to the object currently selected. For example, if you want to select all the blue squares below first select one of the blue squares, and use Editā‡’Select Sameā‡’Fill Color from the menu. All the objects with a fill color the same shade of blue are now selected. In addition to selecting by fill color, you can select multiple similar objects by stroke color, stroke style, fill & stroke, and object type. Conclusie This concludes the Basic tutorial. There's much more than that to Inkscape, but with the techniques described here, you will already be able to create simple yet useful graphics. For more complicated stuff, go through the Advanced and other tutorials in Helpā‡’Tutorials. Bulia Byak; Jonathan Leighton; Ralf Stephan; Bryce Harrington; Alexandre Prokoudine; Colin Marquardt; Josh Andler; Nicolas Dufour; GellĆ©rt Gyuris Kris De Gussem ā€” 2009, 2011 Esteban Capella ā€” 2019