The extensions in this section all modify an existing path.
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 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.
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.
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 of 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 the path to transform first, then select the quadrilateral. 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. The Tab key will cycle through the nodes in order when the Node Tool is in use. If no node is selected, then the starting node will be highlighted on the first use of the Tab key. To change the starting node, break the path at the desired start node (v0.47) or one node before (v0.48) ( ) and then rejoin ( ). To reverse a path, use the → (Shift+R) command.
New in v0.48.
Adjusts paths and rectangles to the pixel grid so that when exported as a bitmap, the lines are sharp. Filled objects are adjusted so that their edges are aligned with pixel boundaries. Paths are first adjusted to have an integer pixel width, and then adjusted so the stroke edges align with the boundaries.
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. A Behavior value of 1 moves the node handles toward the nodes, a value of 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 input parameter. Objects must be converted to paths before applying the extension.
|© 2005-2011 Tavmjong Bah.||Get the Book or EBook.|