Tutorial | Τα βασικά Αυτό το μάθημα δείχνει τα βασικά της χρήσης του Inkscape. Αυτό είναι ένα κανονικό έγγραφο Inkscape που μπορείτε να δείτε, να επεξεργασθείτε, να αντιγράψετε ή να αποθηκεύσετε. 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. Μετακίνηση στον καμβά 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. Μεγέθυνση και σμίκρυνση 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 Η κάθετη γραμμή εργαλείων στα αριστερά εμφανίζει τα σχεδιαστικά και επεξεργαστικά εργαλεία του Inkscape. Στο πάνω μέρος του παραθύρου, κάτω από το μενού, υπάρχει η γραμμή εντολών με κουμπιά γενικών εντολών και η γραμμή ελέγχων εργαλείου με ελέγχους που είναι ειδικοί για κάθε εργαλείο. Η γραμμή κατάστασης στον πυθμένα του παραθύρου εμφανίζει χρήσιμες υποδείξεις και μηνύματα καθώς εργάζεσθε. Many operations are available through keyboard shortcuts. Open HelpKeys and Mouse Reference to see the complete reference. Δημιουργία και διαχείριση εγγράφων To create a new empty document, use FileNew or press Ctrl+N. To create a new document from one of Inkscape's many templates, use FileNew from Template… or press Ctrl+Alt+N To open an existing SVG document, use FileOpen (Ctrl+O). To save, use FileSave (Ctrl+S), or FileSave As (Shift+Ctrl+S) to save under a new name. (Inkscape may still be unstable, so remember to save often!) Το Inkscape χρησιμοποιεί τη μορφή SVG (Scalable Vector Graphics) για τα αρχεία του. SVG είναι ένα ανοικτό πρότυπο πλατιά υποστηριζόμενο από λογισμικό γραφικών. Τα αρχεία SVG βασίζονται σε XML και μπορούν να επεξεργαστούν με οποιοδήποτε επεξεργαστή κειμένου ή XML (πέρα από το Inkscape). Εκτός από SVG, το Inkscape μπορεί να εισάγει και να εξάγει πολλές άλλες μορφές (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. Δημιουργία σχημάτων Ώρα για μερικά όμορφα σχήματα! Κλικ στο εργαλείο ορθογωνίου στη γραμμή εργαλείων (ή πιέστε F4) και κλικ και σύρσιμο, είτε σε ένα νέο κενό έγγραφο ή ακριβώς εδώ: Όπως μπορείτε να δείτε, τα προεπιλεγμένα ορθογώνια γίνονται μπλε, με μια μαύρη πινελιά (περίγραμμα) και πλήρως αδιαφανή. Θα δούμε πώς αλλάζουμε αυτό παρακάτω. Με άλλα εργαλεία, μπορείτε επίσης να δημιουργήσετε ελλείψεις, αστέρια και σπείρες (ελικοειδή): Αυτά τα εργαλεία είναι συλλογικά γνωστά ως εργαλεία σχήματος. Κάθε σχήμα που δημιουργείτε εμφανίζει μία ή περισσότερες λαβές σε σχήμα διαμαντιού. Δοκιμάστε να τις σύρετε για να δείτε την ανταπόκριση των σχημάτων. Το φατνίο ελέγχων για το εργαλείο σχήματος είναι ένας άλλος τρόπος για ρύθμιση του σχήματος. Αυτοί οι έλεγχοι επηρεάζουν τα τρέχοντα επιλεγμένα σχήματα (δηλαδή αυτά που εμφανίζουν τις λαβές) και ορίστε το προεπιλεγμένο που θα εφαρμοστεί στα νεοδημιουργούμενα σχήματα. 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.) Μετακίνηση, κλιμάκωση, περιστροφή Το πιο συχνά χρησιμοποιούμενο εργαλείο του Inkscape είναι ο Επιλογέας. Κλικ στο πιο πάνω κουμπί (με το βέλος) στη γραμμή εργαλείων, ή πατήστε F1 ή διάστημα. Τώρα μπορείτε να επιλέξετε κάθε αντικείμενο στον καμβά. Πατήστε στο πιο κάτω ορθογώνιο. Θα δείτε οκτώ λαβές σε σχήμα βέλους να εμφανίζονται γύρω από το αντικείμενο. Τώρα μπορείτε: 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.) Τώρα πατήστε στο ορθογώνιο ξανά. Οι λαβές αλλάζουν. Τώρα μπορείτε: 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.) Ενώ είσαστε στον επιλογέα, μπορείτε επίσης να χρησιμοποιήσετε τα αριθμητικά πεδία εισόδου στη γραμμή ελέγχων (πάνω από τον καμβά) για να ορίσετε ακριβείς τιμές για συντεταγμένες (X και Y) και μεγέθη (πλάτος και ύψος) της επιλογής. Μετασχηματισμός με πλήκτρα Ένα από τα χαρακτηριστικά του Inkscape που το ξεχωρίζουν από τους άλλους επεξεργαστές διανυσμάτων είναι η έμφαση του στην προσβασιμότητα του πληκτρολογίου. Δεν υπάρχει πρακτικά καμία εντολή ή ενέργεια που είναι αδύνατο να γίνει από το πληκτρολόγιο και ο μετασχηματισμός αντικειμένων δεν είναι εξαίρεση. 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. Πολλαπλές επιλογές 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: Κάθε ατομικό αντικείμενο μέσα σε μια επιλογή εμφανίζει μια υπόδειξη επιλογής — από προεπιλογή, ένα διακεκομμένο ορθογώνιο πλαίσιο. Αυτές οι υποδείξεις κάνουν πιο εύκολο να δει κανείς μονομιάς, τι επιλέχτηκε και τι όχι. Π.χ., εάν επιλέξετε και τις δύο ελλείψεις και το ορθογώνιο, χωρίς τις υποδείξεις θα ήταν δύσκολο να μαντέψετε εάν οι ελλείψεις είναι επιλεγμένες ή όχι. 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). Ομαδοποίηση Πολλά αντικείμενα μπορούν να συνδυαστούν σε μια ομάδα. Μια ομάδα συμπεριφέρεται ως ένα μόνο αντικείμενο, όταν το σύρετε ή το μετακινείτε. Πιο κάτω, τα τρία αντικείμενα στα αριστερά είναι ανεξάρτητα, τα ίδια τρία αντικείμενα στα δεξιά είναι ομαδοποιημένα. Δοκιμάστε να σύρετε την ομάδα. 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. Γέμισμα και Πινελιά 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. Θα δείτε ότι ο διάλογος έχει τρεις καρτέλες: γέμισμα, πινελιά και μορφοποίηση πινελιάς. Η καρτέλα γέμισμα σας επιτρέπει να επεξεργαστείτε το γέμισμα (εσωτερικό) των επιλεγμένων αντικειμένων. Χρησιμοποιώντας τα κουμπιά πιο κάτω από την καρτέλα, μπορείτε να επιλέξετε τύπους γεμίσματος, συμπεριλαμβανόμενων χωρίς χρώμα (το κουμπί με το Χ), επίπεδο χρώμα, καθώς και γραμμικές ή ακτινικές διαβαθμίσεις. Για το πιο πάνω σχήμα, το κουμπί επίπεδου χρώματος θα ενεργοποιηθεί. Πιο κάτω βλέπετε μια επιλογή των επιλογέων χρώματος, καθένας στη δική του καρτέλα: RGB, CMYK, HSL και τροχός. Ίσως ο πιο βολικός είναι ο επιλογέας τροχού, όπου μπορείτε να περιστρέψετε το τρίγωνο για να επιλέξετε χρώμα στον τροχό και έπειτα επιλογή απόχρωσης του χρώματος μες το τρίγωνο. Όλοι οι επιλογείς χρώματος περιέχουν έναν ολισθητή για ορισμό του άλφα (αδιαφάνειας) των επιλεγμένων αντικειμένων. Όποτε επιλέγετε ένα αντικείμενο, ο επιλογέας χρώματος ενημερώνεται για να εμφανίσει το τρέχον γέμισμα του και την τρέχουσα πινελιά του (για πολλαπλές επιλογές αντικειμένων, ο διάλογος εμφανίζει το μέσο όρο του χρώματος). Παίξτε με αυτά τα δείγματα ή δημιουργήστε τα δικά σας: Χρησιμοποιώντας την καρτέλα πινελιάς, μπορείτε να αφαιρέσετε την πινελιά (περίγραμμα) του αντικειμένου, ή να αποδώσετε οποιοδήποτε χρώμα ή διαφάνεια σε αυτό: Η τελευταία καρτέλα, μορφοποίηση πινελιάς, σας επιτρέπει να ορίσετε το πλάτος και άλλες παραμέτρους της πινελιάς: Τελικά, αντί για επίπεδο χρώμα, μπορείτε να χρησιμοποιήσετε διαβαθμίσεις για γεμίσματα και/ή πινελιές: 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). Διπλασιασμός, ευθυγράμμιση, κατανομή 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: Διάταξη-Ζ 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). Εξασκηθείτε χρησιμοποιώντας αυτές τις εντολές αντιστρέφοντας τη διάταξη-z των πιο κάτω αντικειμένων, έτσι ώστε η πιο αριστερή έλλειψη να είναι στην κορυφή και η πιο δεξιά έλλειψη να είναι στον πυθμένα: 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. Επιλογή του από κάτω και σύρσιμο του επιλεγμένου Τι να κάνετε εάν το αντικείμενο που χρειάζεσθε είναι κρυμμένο πίσω από ένα άλλο αντικείμενο; Ίσως βλέπετε ακόμα το κάτω αντικείμενο εάν το κορυφαίο είναι (μερικώς) διαφανές, αλλά πατώντας το θα επιλέξει το πάνω αντικείμενο, όχι αυτό που χρειάζεσθε. 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: Επιλογή παρόμοιων αντικειμένων 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 EditSelect SameFill Color from the menu. All the objects with a fill color the same shade of blue are now selected. Πέρα από την επιλογή κατά χρώμα γεμίσματος, μπορείτε να επιλέξετε πολά παρόμοια αντικείμενα κατά χρώμα πινελιάς, τεχνοτροπία πινελιάς, πινελιά & γεμίσματος και τύπο αντικειμένου. Συμπέρασμα 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 HelpTutorials. Bulia Byak; Jonathan Leighton; Ralf Stephan; Bryce Harrington; Alexandre Prokoudine; Colin Marquardt; Josh Andler; Nicolas Dufour; Gellért Gyuris Dimitris Spingos — 2011, 2015 Esteban Capella — 2019