issue165:inkscape
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue165:inkscape [2021/01/30 12:38] – créée auntiee | issue165:inkscape [2021/02/03 15:11] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Last time, I described the (unreliable) tooltip mode that was introduced to the Measurement Tool in version 1.0. That wasn’t the only change to this tool, but the other addition is, thankfully, a little more reliable. | + | **Last time, I described the (unreliable) tooltip mode that was introduced to the Measurement Tool in version 1.0. That wasn’t the only change to this tool, but the other addition is, thankfully, a little more reliable.** |
- | Measurement Tool | + | La dernière fois, j'ai décrit les info-bulles (peu fiables) qui ont été introduites dans l' |
+ | |||
+ | **Measurement Tool | ||
For this simple example, I have five squares – identical apart from their colours – arranged in a line. I’ve got the “Ignore first and last” option selected on the Measurement tool’s control bar (the button outlined in red), and have dragged a measurement line from the top-left to the top-right of the arrangement. As you can see, I’m presented with a single measurement for the length of the line. | For this simple example, I have five squares – identical apart from their colours – arranged in a line. I’ve got the “Ignore first and last” option selected on the Measurement tool’s control bar (the button outlined in red), and have dragged a measurement line from the top-left to the top-right of the arrangement. As you can see, I’m presented with a single measurement for the length of the line. | ||
- | But what if we also wanted to see how wide the boxes are? For that we can enable the “Show measures between items” button (the one to the right of the red outline). This shows the distances between each line or point that the measurement line crosses. | + | But what if we also wanted to see how wide the boxes are? For that we can enable the “Show measures between items” button (the one to the right of the red outline). This shows the distances between each line or point that the measurement line crosses.** |
- | That’s good, but we already know that the boxes are all the same size, so it would be sufficient to just label one of them. That’s where the new button – to the left of the red outline – comes in. The tooltip describes it as “Measure only selected”. With this toggle enabled, you’ll get additional measurements displayed for selected objects, as well as the overall dimension of your measurement line. By selecting the first box, then drawing the same top-left to top-right measurement line, we can get a clearer view of the two values we’re interested in. | + | Outil de mesure |
- | With a single element selected the state of the “Show measures between items” button has no effect. But when you select two or more objects within the path of the measurement line, it changes the result quite significantly. By selecting just the red and green boxes, and with the “measure between items” toggle turned off, this is the display that Inkscape produces: | + | Pour cet exemple simple, j'ai cinq carrés - identiques à part leurs couleurs - disposés en ligne. J'ai sélectionné l' |
- | It’s a little hard to make out, but there is a small red cross at the top-right of the green square. The displayed value of 82.77mm represents the distance between the start of the measurement line (the small circle at the top-left of the red square), and that red cross – that is to say, the entire width of the selection, irrespective of the unselected blue box that happens to lie in the middle. | + | Mais si nous voulions également voir la largeur des cases ? Pour cela, nous pouvons activer le bouton « Afficher les distances entre les éléments » (celui qui se trouve à droite du contour rouge). Il indique les distances entre chaque ligne ou point que la ligne de mesure traverse. |
- | With the “measure between items” toggle enabled we get a different collection | + | **That’s good, but we already know that the boxes are all the same size, so it would be sufficient to just label one of them. That’s where the new button – to the left of the red outline – comes in. The tooltip describes it as “Measure only selected”. With this toggle enabled, you’ll get additional measurements displayed for selected objects, as well as the overall dimension of your measurement line. By selecting the first box, then drawing the same top-left to top-right measurement line, we can get a clearer view of the two values we’re interested in. |
- | There are now two additional red crosses – at the top-right corner | + | With a single element selected |
- | This is a great new feature for this tool, giving you the ability to more precisely indicate which parts of a complex drawing should be measured, and which should be ignored. It does have a slight problem in that changing the selection can cause all the additional measurements to disappear. Redrawing the measurement line brings them back though, so it’s a small annoyance rather than a major bug. | + | C'est bien, mais nous savons déjà que les cases sont toutes de la même taille, il suffirait donc d'en étiqueter une seule. C'est là que le nouveau bouton - à gauche du contour rouge - entre en jeu. L' |
- | You may have noticed that none of the squares in these images give the appearance of being selected: you can’t see the usual dashed line and handles that you would expect when the Selection tool is active. These are suppressed when using the Measurement tool – a good thing, too, otherwise they would clutter and confuse the layout. But it might leave you wondering which objects are selected and which aren’t. Worry not! The new tooltip feature, although rather broken in the numbers it displays (see last month’s column), does reliably state that each element is either “Selected” or “Not selected” as you move the mouse over them. Although, in most cases, | + | Avec un seul élément sélectionné, |
- | On-canvas Alignment | + | **It’s a little hard to make out, but there is a small red cross at the top-right of the green square. The displayed value of 82.77mm represents the distance between the start of the measurement line (the small circle at the top-left of the red square), and that red cross – that is to say, the entire width of the selection, irrespective of the unselected blue box that happens to lie in the middle. |
- | Another new feature in version 1.0 is the ability to align selected objects on the canvas, rather than via the Align & Distribute dialog. Oddly, however, you do need to make a visit to that dialog to enable the feature, even though its implementation is entirely based around the Selection tool. Let’s first turn the option on, using the new toggle button which is just hanging out on its own at one side of the Align & Distribute dialog (outlined in red in this image). You can safely close the dialog once you’ve enabled the mode though, as the setting does persist. | + | With the “measure between items” toggle enabled we get a different collection |
- | With this toggled on, the Selection tool acquires | + | C'est un peu difficile à distinguer, mais il y a une petite croix rouge en haut à droite du carré vert. La valeur affichée de 82,77 mm représente la distance entre le début de la ligne de mesure (le petit cercle en haut à gauche du carré rouge), et cette croix rouge - c' |
- | The two thin blue lines are just guides that I’ve added to make it clearer where the top and left edges of the selection group lie, to help orient you in the screenshots to follow. Their position on the canvas doesn’t change, so, by treating them as fixed references, it should be clearer to see how the items move around on the page. | + | Lorsque l' |
- | The handles in question | + | **There |
- | Ignoring the central button | + | This is a great new feature |
- | The objects are moved so that the left edges of their respective bounding boxes are all aligned along the left edge of the selection. Hold Shift while clicking the same button, on the other hand, and the right edges of the bounding boxes are aligned along the left edge of the selection instead. | + | Il y a maintenant deux croix rouges supplémentaires, |
- | Holding Shift+Ctrl while clicking the handle provides one final alignment option: the entire selection is moved so that the right edge of the selection aligns with its previous left edge. In other words, it’s shifted by the width of the selection. | + | C'est une grande nouveauté pour cet outil, qui vous donne la possibilité d' |
- | Equivalent movements take place, with the direction changed accordingly, | + | **You may have noticed that none of the squares in these images give the appearance |
- | Clicking the top-left corner button is equivalent to clicking the left edge button, followed by the top edge button (or vice-versa). The same goes for the Shift and Shift-Ctrl variants. The corner buttons are therefore just a shortcut for aligning both horizontally and vertically with one click, but you can still perform this operation as two steps if you wish. This is especially important to note if you wish to use different alignments for the two axes – for example, a click on the left edge button, but a Shift-click on the top edge button. | + | Vous avez peut-être remarqué qu' |
- | The center button will move objects vertically so that they’re aligned on the horizontal axis of the original selection group, while a Shift-click will move them horizontally to center them on the vertical axis. One useful trick is to perform a click followed by a Shift-click (or vice versa) to center the objects along both axes (i.e. stack them up with a common center point). These three options are shown in the image below. Note that Shift-Control clicking on the center button has no effect. | + | **On-canvas Alignment |
- | All of the alignment capabilities offered by the new mode are also available | + | Another new feature in version 1.0 is the ability to align selected objects on the canvas, rather than via the Align & Distribute dialog. Oddly, however, you do need to make a visit to that dialog to enable the feature, even though its implementation is entirely based around the Selection |
- | In my opinion there are three things missing from this new feature which would have improved it: | + | Alignement sur le canevas |
+ | |||
+ | Une autre nouveauté de la version 1.0 est la possibilité d' | ||
+ | |||
+ | **With this toggled on, the Selection tool acquires a third mode. Even the most novice of Inkscape users is familiar with the first mode, indicated by double-ended arrows that allow you to resize selected objects. Once in that state, clicking on a selected object will cycle to the second mode, where a new set of double-ended arrows are used to rotate and skew. With this new toggle button activated, a third click will cycle to the new mode, where a radically different set of handles will greet you. | ||
+ | |||
+ | The two thin blue lines are just guides that I’ve added to make it clearer where the top and left edges of the selection group lie, to help orient you in the screenshots to follow. Their position on the canvas doesn’t change, so, by treating them as fixed references, it should be clearer to see how the items move around on the page.** | ||
+ | |||
+ | En activant cette fonction, l' | ||
+ | |||
+ | Les deux fines lignes bleues ne sont que des guides que j'ai ajoutés pour indiquer plus clairement où se trouvent les bords supérieur et gauche du groupe de sélection, pour vous aider à vous orienter dans les captures d' | ||
+ | |||
+ | **The handles in question are the eight black icons around the outside of the selection, and the one in the very center, but the first thing to note is that these aren’t really handles – not in the sense that the term is used for the other two modes. You can’t drag these around. You can try, but all that occurs is that they disappear from the screen until you release the mouse button. These ‘handles’ are really just buttons that happen to be positioned where the selection handles usually live. | ||
+ | |||
+ | Ignoring the central button for now, clicking any of the others will align all the selected objects to the relevant edge or corner. As an example, here’s what happens if you click on the button that’s halfway down on the left.** | ||
+ | |||
+ | Les poignées concernées sont les huit icônes noires à l' | ||
+ | |||
+ | Ignorez le bouton central pour l' | ||
+ | |||
+ | **The objects are moved so that the left edges of their respective bounding boxes are all aligned along the left edge of the selection. Hold Shift while clicking the same button, on the other hand, and the right edges of the bounding boxes are aligned along the left edge of the selection instead. | ||
+ | |||
+ | Holding Shift+Ctrl while clicking the handle provides one final alignment option: the entire selection is moved so that the right edge of the selection aligns with its previous left edge. In other words, it’s shifted by the width of the selection.** | ||
+ | |||
+ | Les objets sont déplacés de manière à ce que les bords gauches de leurs boîtes englobantes respectives soient tous alignés le long du bord gauche de la sélection. En revanche, si vous maintenez la touche Maj enfoncée tout en cliquant sur le même bouton, les bords droits des boîtes englobantes sont alignés le long du bord gauche de la sélection. | ||
+ | |||
+ | Maintenir les touches Maj+Ctrl enfoncées tout en cliquant sur la poignée offre une dernière option d' | ||
+ | |||
+ | **Equivalent movements take place, with the direction changed accordingly, | ||
+ | |||
+ | Clicking the top-left corner button is equivalent to clicking the left edge button, followed by the top edge button (or vice-versa). The same goes for the Shift and Shift-Ctrl variants. The corner buttons are therefore just a shortcut for aligning both horizontally and vertically with one click, but you can still perform this operation as two steps if you wish. This is especially important to note if you wish to use different alignments for the two axes – for example, a click on the left edge button, but a Shift-click on the top edge button.** | ||
+ | |||
+ | Des mouvements équivalents ont lieu, avec le changement de direction correspondant, | ||
+ | |||
+ | Cliquer sur le bouton du coin supérieur gauche équivaut à cliquer sur le bouton du bord gauche, suivi du bouton du bord supérieur (ou vice-versa). Il en va de même pour les variantes Maj et Maj-Ctrl. Les boutons d' | ||
+ | |||
+ | **The center button will move objects vertically so that they’re aligned on the horizontal axis of the original selection group, while a Shift-click will move them horizontally to center them on the vertical axis. One useful trick is to perform a click followed by a Shift-click (or vice versa) to center the objects along both axes (i.e. stack them up with a common center point). These three options are shown in the image below. Note that Shift-Control clicking on the center button has no effect. | ||
+ | |||
+ | All of the alignment capabilities offered by the new mode are also available via the Align & Distribute dialog, with the “Relative to” pop-up set to “Selection Area”, but the on-canvas buttons are probably a bit more obvious and intuitive.** | ||
+ | |||
+ | Le bouton central permet de déplacer les objets verticalement de manière à ce qu'ils soient alignés sur l'axe horizontal du groupe de sélection initial, tandis qu'un clic avec l' | ||
+ | |||
+ | Toutes les possibilités d' | ||
+ | |||
+ | **In my opinion there are three things missing from this new feature which would have improved it: | ||
• A toggle button on the Selection tool’s control bar as well as (or instead of) the one in the Align & Distribute dialog. As the Selection tool is the way in which you interact with the new capabilities, | • A toggle button on the Selection tool’s control bar as well as (or instead of) the one in the Align & Distribute dialog. As the Selection tool is the way in which you interact with the new capabilities, | ||
• A keyboard shortcut for toggling this mode on and off. | • A keyboard shortcut for toggling this mode on and off. | ||
• A way to use other types of “Relative to” alignment. I most commonly use “First selected” or “Page”, and it would be great to have easy access to those modes via the on-canvas handles. Perhaps a duplicate pop-up in the tool control bar, or leveraging the unused Alt key to provide a second set of alignment options. | • A way to use other types of “Relative to” alignment. I most commonly use “First selected” or “Page”, and it would be great to have easy access to those modes via the on-canvas handles. Perhaps a duplicate pop-up in the tool control bar, or leveraging the unused Alt key to provide a second set of alignment options. | ||
- | Nevertheless this is a nice addition to the standard tools which, hopefully, will gain in features and prominence with future releases. | + | Nevertheless this is a nice addition to the standard tools which, hopefully, will gain in features and prominence with future releases.** |
+ | |||
+ | À mon avis, il manque trois choses à cette nouvelle fonctionnalité, | ||
+ | ••Un bouton de bascule sur la barre de contrôle de l' | ||
+ | ••Un raccourci clavier pour activer ou désactiver ce mode. | ||
+ | ••Une façon d' | ||
+ | |||
+ | Néanmoins, il s'agit d'un ajout intéressant aux outils standard qui, nous l' | ||
issue165/inkscape.1612006688.txt.gz · Dernière modification : 2021/01/30 12:38 de auntiee