13.11. Grid

13.11.1. Overview

Figure 17.309. Applying example for the Grid filter

Applying example for the Grid filter

Original image

Applying example for the Grid filter

Filter Grid applied


It renders a Cartesian grid in the active layer, on top of the existing contents. The width, spacing, offsets, and colors of the grid lines can all be set by the user. By default, the lines are with the GIMP's foreground color. (Note: this plug-in was used to create demonstration images for many of the other plug-ins.)

[Tip] Tip

If you set the grid line widths to 0, then only the intersections will be drawn, as plus-marks.

13.11.2. Activating the filter

This filter is found in the image window menu under FiltersRenderPatternGrid….

13.11.3. Options

Figure 17.310. Grid filter options

“Grid” filter options

There are separate options for controlling the horizontal grid lines, vertical grid lines, and intersections. By default, the horizontal and vertical settings are locked together, so that all changes are applied symmetrically. If you want to change just one of them, click on the chain symbol below it to unlock them. The results of changing the Intersection parameters are rather complex.

Besides, for some options, you can select the unit of measurement thanks to a drop-down list.

Width

Sets the widths of the horizontal or vertical grid lines, or of the symbols drawn at their intersections.

Spacing

Sets the distance between grid lines. The Intersection parameter clears the space between the intersection point and the end of the arms of the intersection crosses.

Offset

Sets the offset for grid lines with respect to the upper left corner. For intersections, sets the length of the arms of the intersection crosses.

Color Selectors

These allow you to set the colors of the grid lines and intersection marks.

Figure 17.311. Intersection parameters

Intersection parameters

Width < 2 × Spacing

Intersection parameters

Width > 2 × Spacing