The extensions in this section all modify an existing path.

*Modified in v0.47.*

Adds nodes to a path, leaving the shape of the path unchanged. The nodes are added evenly spaced. The number of nodes is either specified (as of v0.47) or by setting a minimum specified spacing. Good for creating scissor lines.

Convert regular shapes to paths before applying.

Automates changing the *Markers* to match the color of the
*Stroke*. The extension makes copies of a *Markers* in the
*<defs>* section
of the *SVG* file with the appropriate color. This extension is a
temporary work-around until the *SVG* 1.2 standard is
finalized. The new standard is expected to simplify matching
*Marker* color with *Stroke* color.

The extension takes a *Path* with *Dashes* and converts each
*Dash* into a separate sub-path. This is to allow desktop
cutting plotters to cut dashed lines.

Adds highlights and shadows to simulate 3D objects like buttons.
The extension works by adding paths that are blurred via the
*Gaussian
Blur* filter and then clipped. The paths have
partial transparency, with white for highlights and black for
shadows. The extension only works on paths so regular shapes need to
be converted first. You may also need to add additional nodes.

Parameters:

*Illumination Angle*: Sets the angle from which light arrives.*Shades*: Sets the number of different gray levels. The path is broken up into sections according to the relative angles of the nodes. A shading path is generated for each level. You must have a least as many nodes in the original path as shades.*Only black and white*: If checked, only the lightest (white) and darkest (black) parts are generated.*Stroke width*: Not used (fixed internally at 10).*Blur stdDeviation*: Sets the blur radius for the*Gaussian Blur*filter in pixel units.*Blur width*,*Blur height*: Sets the width and height of the Filter Effects Region, the area where the blur is calculated. These parameters are not very useful (you cannot set the*x*and*y*terms). Leave both set at 2.0.

Distorts a path so that the path's original *bounding box* is mapped to
the edges of a quadrilateral. To use the extension, select the path
to transform first, then add the quadrilateral path to the
selection. Regular shape objects must be converted to a path before
transformation.

The extension works on a single path. The
beginning point of the quadrilateral path will determine the
orientation of the transformed image. If the image is inverted
(like looking through a mirror), reverse the direction of the
quadrilateral path with the ** Shift+R**) command.

This extension could be used to produce a pseudo-perspective
extension. For real perspective, use the *Perspective*
extension.

This extension converts selected *Bezier* curves to an approximation
composed of straight-line paths. The number of line segments used
is determined by the *Flatness* parameter. The smaller
the *Flatness*, the more line segments are used.

This extension turns a straight-line segment into a crooked segment.
It works by finding the midpoint of the line segment, adding a node
at that point, and then moving the node a random distance perpendicular
to the original path direction. This division routine is called recursively
depending on the setting of the *Subdivisions*
entry in the dialog, doubling the number of resulting segments for
each increase by one. The *Smoothness* of the path
can also be specified. The magnitude of the perpendicular displacement
is a random function with the limits determined by
*±(Segment length)/(1 + Smoothness)*.

The extension will also work on a curved path by turning the path into a series of line segments between the path's nodes.

This extension takes the objects in a *Group* or a selection and
assigns a value to some attribute to each object, interpolating
between two extremes to determine the value. Note that the order
of the objects in the *SVG* file determines the order in which
the interpolated attributes are assigned. Options include
interpolating color, width, height, scale, and position.

Randomly shift nodes and/or node handles. The *Maximum
displacement* parameter controls the magnitude of the
randomization. When the *Use normal
distribution* box is not checked, the magnitude of
displacements will be uniformly distributed between zero and the
*Maximum displacement* value (in pixels). When
the box is checked, the magnitudes of the displacements will have
a *Normal* (a.k.a. Gaussian or Bell curve)
distribution with a standard deviation of 0.5 times the
*Maximum displacement* value. The Normal
distribution option may produce more natural-looking variations
in a path. In both cases, the direction of the displacement will
be random.

Distorts a path (or a *Group* of paths) so that the path's
original *bounding box* is mapped to the edges of a quadrilateral and a
perspective extension is applied to the path. To use the extension,
select a quadrilateral first, then select the path to
transform. Regular shapes and text must be converted to a path
before transformation.
This extension requires the
*Numpy*
(Numerical Python) package.

The beginning point of the quadrilateral path will determine the orientation of the transformed image; in most cases, the quadrilateral path should be started from the lower-left corner and proceed in a clockwise direction.

Distorts a path as if the path was stretched vertically or the path
was squeezed horizontally. The amount of the distortion is
controlled by the *Strength*
and *Curve* parameters. Adding extra nodes may
produce a better result.

Reduces the curvatures of path segments. The amount of
straightening can be specified. *Behavior*
1 moves the node handles toward the nodes, *Behavior*
2 moves the node handles to a point one-third of the distance between
the node and the neighboring node. There is little visual
difference between these two options.

This extension twists an object around a point, like what might happen if you dropped things in whirling water (except the farther away from the center, the greater the displacement for this extension). The amount of “whirling” is an imput parameter. Objects must be converted to paths before applying the extension.

Tip | |
---|---|

The center of view is used for the center of the
whirl. To whirl around the center of an object, select the
object and then use |

© 2005-2010 Tavmjong Bah. | Get the Book or PDF. |