4.2. Propriétés d’un chemin
| 4. Chemins |

### 4.2. Propriétés d’un chemin

Paths, like layers and channels, are components of an image. When an image is saved in GIMP's native XCF file format, any paths it has are saved with it. The list of paths in an image can be viewed and operated on using the Paths Dialog. You can move a path from one image to another by copying and pasting using the pop-up menu in the Paths dialog, or by dragging an icon from the Paths dialog into the destination image window.

Les chemins de GIMP appartiennent à un type de courbe mathématique appelé « Courbes de Bézier ». Les points d’ancrage sont les points par où passe le chemin et les poignées définissent la direction du chemin à l’entrée et à la sortie d’un point d’ancrage. Chaque point d’ancrage a deux poignées qui lui sont attachées.

Paths can be very complex. If you create them by hand using the Paths tool, they probably won't contain more than a few dozen anchor points and usually a lot less than that. However, if you create them by transforming a selection into a path, or by transforming text into a path, the result can easily contain hundreds or even thousands of anchor points.

Un chemin peut comporter plusieurs composants. Un composant est une partie d’un chemin dont les points d’ancrages sont unis les uns aux autres par des segments. La possibilité d’avoir plusieurs composants vous permet de les convertir en sélections indépendantes.

Chaque composant d’un chemin peut être ouvert ou fermé : « fermé » signifie que le dernier point d’ancrage est relié au premier. Si vous transformez un chemin en sélection, les composants ouverts seront automatiquement fermés en reliant le dernier point d’ancrage au premier par une ligne droite.

Path segments can be either straight or curved. A path is called « polygonal » if all of its segments are straight. A new path segment is always created straight; the handles for the anchor points are directly on top of the anchor points, yielding handles of zero length, which produces straight-line segments. Drag a handle away from an anchor point to cause a segment to curve.

One nice thing about paths is that they use very few resources, especially in comparison with images. Representing a path in RAM requires storing only the coordinates of its anchors and handles. Therefore, it is possible to have literally hundreds of paths in an image without causing any significant stress to your system. Even a path with thousands of segments consumes minimal resources in comparison to a typical layer or channel.

Paths can be created and manipulated using the Paths tool.

4. Chemins |  | 4.3. Chemins et sélections

Report a bug in GIMP Report a documentation error