issue63:tutoinkscape
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue63:tutoinkscape [2012/08/11 18:26] – créée fredphil91 | issue63:tutoinkscape [2012/09/18 15:18] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Here's a riddle for you: when is a circle not a circle? More specifically, | + | **Here's a riddle for you: when is a circle not a circle? More specifically, |
They may look the same, but they' | They may look the same, but they' | ||
Ligne 5: | Ligne 5: | ||
The one on the left is the true circle, created by holding down CTRL while drawing an ellipse. The other is a square, created by holding CTRL while drawing a rectangle, which has had its corners rounded using the small circle handles. | The one on the left is the true circle, created by holding down CTRL while drawing an ellipse. The other is a square, created by holding CTRL while drawing a rectangle, which has had its corners rounded using the small circle handles. | ||
- | Often it's quite obvious what type of object you're working with in Inkscape, but as your drawings become more complex, and as you begin to use more and more tools, it's easy to lose track. Some features only work with particular types of objects, so it's handy to be able to tell at a glance exactly what you've got selected. Inkscape reveals that information – and a whole lot more – in the status bar at the bottom of the window. Here's the relevant part of the status bar when each of these “circles” is selected with the Select tool: | + | Often it's quite obvious what type of object you're working with in Inkscape, but as your drawings become more complex, and as you begin to use more and more tools, it's easy to lose track. Some features only work with particular types of objects, so it's handy to be able to tell at a glance exactly what you've got selected. Inkscape reveals that information – and a whole lot more – in the status bar at the bottom of the window. Here's the relevant part of the status bar when each of these “circles” is selected with the Select tool:** |
- | From that information it's quite obvious that the two circles are different. But that image has been edited a little; the text actually reads “Ellipse in layer Layer 1. Click selection to toggle scale/ | + | Voici une devinette : quand est-ce qu'un cercle n'est pas un cercle ? Plus précisément, |
- | In fact much of what has been verbosely described in the previous two articles can be found written far more succinctly in Inkscape's status line. With the Circle tool selected you're told to “Drag to create an ellipse. Drag controls to make an arc or segment. Click to select.” In this case “drag controls” is Inkscape's terminology for moving the small square and circle handles. A similar line when the Rectangle tool is selected suggests you can “Drag controls to round corners and resize.” | + | On dirait les mêmes, mais ce n'est pas le cas. Si vous double-cliquez sur chacun d'eux pour faire apparaître leurs poignées d'édition, vous commencerez à voir une différence. |
- | Hovering the mouse pointer over the various handles also provides valuable information in the status line, including this gem when you use the circle handles on an ellipse: “...drag inside the ellipse for arc, outside for segment.” So if you were wondering about Inkscape's seemingly random switching between segments and arcs, it turns out not to be random after all. Keep the pointer inside the boundary of the ellipse if you want to create an arc, and outside if you want to create | + | Celui de gauche est le vrai cercle, créé en maintenant la touche CTRL enfoncée tout en dessinant une ellipse. |
- | As well as these handy tips, the status bar also houses a few other things that you should become familiar with if you want to make the most of your time with Inkscape. At the far left are the fill and stroke swatches that were introduced back in the first part of this series. In theory you can click and drag on them in order to change their colors, but I've always found that to be an imprecise and awkward approach. Next month we'll look at the Fill and Stroke dialog which is a much better way to pick colors that aren't present in your color palette. | + | Souvent, il est assez évident de voir avec quel type d' |
- | The stroke thickness offers an equally useless facility to click and drag in order to change its value. For most quick changes | + | **From that information it's quite obvious that the two circles are different. But that image has been edited |
- | The spin-box labelled with a cryptic “O:” lets you set the opacity | + | In fact much of what has been verbosely described in the previous two articles can be found written far more succinctly in Inkscape' |
- | The eye and lock icons, and the pop-up menu that follows them, are all related to layers. I'll be covering layers in a later article, but there are three things worth knowing about them at this stage: | + | Avec ces informations, |
+ | |||
+ | En fait, une grande partie de ce qui a été décrit très en détail dans les deux articles précédents se retrouve en beaucoup plus succinct dans la ligne d' | ||
+ | |||
+ | **Hovering the mouse pointer over the various handles also provides valuable information in the status line, including this gem when you use the circle handles on an ellipse: “...drag inside the ellipse for arc, outside for segment.” So if you were wondering about Inkscape' | ||
+ | |||
+ | As well as these handy tips, the status bar also houses a few other things that you should become familiar with if you want to make the most of your time with Inkscape. At the far left are the fill and stroke swatches that were introduced back in the first part of this series. In theory you can click and drag on them in order to change their colors, but I've always found that to be an imprecise and awkward approach. Next month we'll look at the Fill and Stroke dialog which is a much better way to pick colors that aren't present in your color palette.** | ||
+ | |||
+ | Placer le pointeur de la souris au-dessus des différentes poignées fournit également des informations précieuses sur la ligne d' | ||
+ | |||
+ | En plus de ces conseils pratiques, la barre d' | ||
+ | |||
+ | **The stroke thickness offers an equally useless facility to click and drag in order to change its value. For most quick changes a right-click on the number to bring up the context menu is a much better option. | ||
+ | |||
+ | The spin-box labelled with a cryptic “O:” lets you set the opacity of your selected objects. It's shown as a percentage, so 100 is the norm for a completely opaque color whilst 0 will render your objects completely transparent. Inkscape has lots of ways to make your objects transparent, | ||
+ | |||
+ | L' | ||
+ | |||
+ | La boîte d' | ||
+ | |||
+ | **The eye and lock icons, and the pop-up menu that follows them, are all related to layers. I'll be covering layers in a later article, but there are three things worth knowing about them at this stage: | ||
• If you're familiar with layers in GIMP or another graphics program, layers in Inkscape work in a similar way. | • If you're familiar with layers in GIMP or another graphics program, layers in Inkscape work in a similar way. | ||
Ligne 25: | Ligne 45: | ||
• Clicking the eye button is another of the many ways to make your objects disappear from the screen – in this case by hiding the layer they' | • Clicking the eye button is another of the many ways to make your objects disappear from the screen – in this case by hiding the layer they' | ||
- | • If the lock icon looks like a closed padlock, then your layer is locked and you won't be able to draw anything new onto it. Click the icon again to unlock it. | + | • If the lock icon looks like a closed padlock, then your layer is locked and you won't be able to draw anything new onto it. Click the icon again to unlock it.** |
- | To the right of the status text is a pair of fields which show the X and Y coordinates of your mouse pointer, relative to the bottom-left corner of the page boundary. You can't modify these in any way, other than by moving your mouse, as they' | + | Les icônes en forme d'œil et de cadenas et le menu surgissant qui les suit, sont tous liés aux couches. Je parlerai des couches dans un article ultérieur, mais il y a trois choses intéressantes à savoir à ce stade : |
- | The last Inkscape-specific widget in the status bar is a zoom spin-box which shows you the current zoom level, lets you set a specific value by typing or using the up and down buttons or pick from a few standards via a context menu. There are so many other zoom tools, including the CTRL plus scroll wheel and the +/- keys which I've described previously, that I doubt you'll ever use this widget. Finally there's a handle to resize the window. | + | • Si vous connaissez les calques dans GIMP ou un autre programme graphique, les couches dans Inkscape |
- | Let's finish this month by introducing another drawing tool to your arsenal: the Stars and Polygons tool. It's got an icon in the tool box and can also be activated using the asterisk key (easy to remember because it looks a little like a star) or SHIFT-F9. Dragging out a shape on the canvas will produce either a convex polygon or a concave, star-like, polygon. You can switch between the two modes using the first two buttons on the tool control bar. | + | • Cliquer sur le bouton œil est une des nombreuses façons de faire disparaître vos objets de l' |
+ | |||
+ | • Si l' | ||
+ | |||
+ | **To the right of the status text is a pair of fields which show the X and Y coordinates of your mouse pointer, relative to the bottom-left corner of the page boundary. You can't modify these in any way, other than by moving your mouse, as they' | ||
+ | |||
+ | The last Inkscape-specific widget in the status bar is a zoom spin-box which shows you the current zoom level, lets you set a specific value by typing or using the up and down buttons or pick from a few standards via a context menu. There are so many other zoom tools, including the CTRL plus scroll wheel and the +/- keys which I've described previously, that I doubt you'll ever use this widget. Finally there' | ||
+ | |||
+ | À droite du texte d' | ||
+ | |||
+ | Le dernier widget spécifique à Inkscape dans la barre d' | ||
+ | |||
+ | **Let's finish this month by introducing another drawing tool to your arsenal: the Stars and Polygons tool. It's got an icon in the tool box and can also be activated using the asterisk key (easy to remember because it looks a little like a star) or SHIFT-F9. Dragging out a shape on the canvas will produce either a convex polygon or a concave, star-like, polygon. You can switch between the two modes using the first two buttons on the tool control bar. | ||
Depending on which mode you're using, you'll see either one or two small diamond-shaped handles. These let you adjust the size, rotation and, for concave polygons, the spoke ratio. By holding various modifier keys as you move them, you can also adjust several other parameters (have a look at the status bar for the details) – although I usually prefer to change them using the spin-boxes in the tool control bar. | Depending on which mode you're using, you'll see either one or two small diamond-shaped handles. These let you adjust the size, rotation and, for concave polygons, the spoke ratio. By holding various modifier keys as you move them, you can also adjust several other parameters (have a look at the status bar for the details) – although I usually prefer to change them using the spin-boxes in the tool control bar. | ||
- | The only parameter that can't be changed via the diamond handles is the number of corners on your polygon, but the other advantage to using the spin-boxes is that, like the spin-boxes on the status bar, they each have a context menu that you can access with a right-click. These context menus are tailored to each spin-box separately, with descriptive titles to provide you with a little insight into the effect they' | + | The only parameter that can't be changed via the diamond handles is the number of corners on your polygon, but the other advantage to using the spin-boxes is that, like the spin-boxes on the status bar, they each have a context menu that you can access with a right-click. These context menus are tailored to each spin-box separately, with descriptive titles to provide you with a little insight into the effect they' |
- | The best way to get a feel for the Star tool is simply to play with it. Try different combinations of values in the spin-boxes. If your objects start to get a little out of control just click the button at the right of the tool control bar – the one that looks like a small broom – in order to 'clean up' the parameters back to sensible defaults. To give you some idea of what you can achieve simply by tweaking the parameters for the Star tool, this image contains six identical polygons which differ only in the settings in their spin-boxes: | + | Terminons ce mois-ci en introduisant un nouvel outil de dessin à votre arsenal : l' |
+ | |||
+ | Selon le mode que vous utilisez, vous verrez une ou deux petites poignées en forme de losange. Celles-ci vous permettent d' | ||
+ | |||
+ | Le seul paramètre qui ne peut pas être modifié à l'aide des poignées en losange est le nombre de sommets sur votre polygone, mais l' | ||
+ | |||
+ | **The best way to get a feel for the Star tool is simply to play with it. Try different combinations of values in the spin-boxes. If your objects start to get a little out of control just click the button at the right of the tool control bar – the one that looks like a small broom – in order to 'clean up' the parameters back to sensible defaults. To give you some idea of what you can achieve simply by tweaking the parameters for the Star tool, this image contains six identical polygons which differ only in the settings in their spin-boxes: | ||
To go back to the question that started this article, you now have a third way to create a ' | To go back to the question that started this article, you now have a third way to create a ' | ||
- | Why not use this new tool to add some stars to the background of your snowman image from the previous articles. The same tool will also let you replace those circles that we used for the eyes and mouth with slightly randomised convex polygons – far more authentic as lumps of coal. | + | Why not use this new tool to add some stars to the background of your snowman image from the previous articles. The same tool will also let you replace those circles that we used for the eyes and mouth with slightly randomised convex polygons – far more authentic as lumps of coal.** |
+ | |||
+ | La meilleure façon d' | ||
+ | |||
+ | Pour revenir à la question du début de cet article, vous avez maintenant une troisième façon de créer un « cercle » : dessiner un polygone convexe avec un grand nombre de sommets. Ce n'est pas un moyen particulièrement bon pour dessiner un cercle et ce n'est certainement pas efficace, mais cela renforce le fait que les objets dans Inkscape ne sont pas toujours ce qu'ils semblent être. Gardez un œil sur la barre d' | ||
+ | |||
+ | Pourquoi ne pas utiliser ce nouvel outil pour ajouter des étoiles à l' | ||
issue63/tutoinkscape.1344702398.txt.gz · Dernière modification : 2012/08/11 18:26 de fredphil91