GAMGI Formats: Window Config

# Window Config

- Ruler

### rotate_max

Defines the range of angle values [-rotate_max, +rotate_max] accepted by the ruler (in the tools menu) to rotate objects. Clicking on the ruler extreme left, the object is rotated by -rotate_max. Clicking on the ruler extreme right, the object is rotated by +rotate_max. rotate_max must be positive.

    Example: <window rotate_max="30.0"/> (default)
    (defined in GAMGI_GTK_ROTATE_MAX)
    Allowed values: real > 0 (optional)

### rotate_step

The rotation angle applied to the object when clicking on the ruler (in the tools menu) increases from the extreme left to the extreme right (from -rotate_max to +rotate_max) in a step by step way. The width of each step, starting from the center to the extremes, is controlled by rotate_step.

For example, when rotate_step is set to rotate_max, only two angles are recognized: -rotate_max on the left (negative) side and +rotate_max on the right (positive) side of the ruler. When rotate_step is 0, the angle changes continuously from one extreme to the other.

rotate_step cannot exceed rotate_max, otherwise the extreme values would never be reached (the central value is always 0).

    Example: <window rotate_step="0.0"/> (default)
    (defined in GAMGI_GTK_ROTATE_STEP)
    Allowed values: [0, rotate_max] (optional)

### move_max

Defines the range of length values [-move_max, +move_max] accepted by the ruler (in the tools menu) to move objects. Clicking on the ruler extreme left, the object is moved by -move_max. Clicking on the ruler extreme right, the object is moved by +move_max. move_max must be positive.

    Example: <window move_max="10.0"/> (default)
    (defined in GAMGI_GTK_MOVE_MAX)
    Allowed values: real > 0 (optional)

### move_step

The translation length applied to the object when clicking on the ruler (in the tools menu) increases from the extreme left to the extreme right (from -move_max to +move_max) in a step by step way. The width of each step, starting from the center to the extremes, is controlled by move_step.

For example, when move_step is set to move_max, only two lengths are recognized: -move_max on the left (negative) side and +move_max on the right (positive) side of the ruler. When move_step is 0, the length changes continuously from one extreme to the other.

move_step cannot exceed move_max, otherwise the extreme values would never be reached (the central value is always 0).

    Example: <window move_step="0.0"/> (default)
    (defined in GAMGI_GTK_MOVE_STEP)
    Allowed values: [0, move_max] (optional)

### scale_max

Defines the range of factor values [1 / scale_max, scale_max] accepted by the ruler (in the tools menu) to scale objects. Clicking on the ruler extreme left, the object is scaled by 1 / scale_max. Clicking on the ruler extreme right, the object is scaled by scale_max. scale_max must be larger than 1.

    Example: <window rotate_max="2.0"/> (default)
    (defined in GAMGI_GTK_SCALE_MAX)
    Allowed values: real > 1 (optional)

### scale_step

The scaling factor applied to the object when clicking on the ruler (in the tools menu) increases from the extreme left to the extreme right (from 1 / scale_max to scale_max) in a step by step way. The width of each step, starting from the center to the extremes, is controlled by scale_step.

For example, when scale_step is equal to scale_max - 1, only two lengths are recognized: 1 / scale_max on the left side and scale_max on the right side of the ruler. When scale_step is 0, the angle changes continuously from one extreme to the other.

scale_step cannot exceed scale_max - 1, otherwise the extreme values would never be reached (the central value is always 1).

    Example: <window rotate_step="0.0"/> (default)
    (defined in GAMGI_GTK_SCALE_STEP)
    Allowed values: [0, scale_max - 1] (optional)

Home