Defining a new stroke is easy. The user simply drags out a stroke definition box in the middle of which is an L-shaped line
(Figure 8). The horizontal part and the vertical part of the L-shaped line represents the stroke's reference backbone and the reference thickness respectively. The L-shaped line provides a scale for the new stroke, and everything within the box would be included as part of the stroke. If the orientation of the new design is not aligned with the reference backbone, the user can always transform the box (rotate, translate, scale or even put it in perspective) so that the L-shaped line is aligned with the picture before committing the definition. The inverse of the alignment transformation of the box will be used to transform the coordinates of the vertices or control points of the picture before parametric coordinates of the new stroke are recorded.
main stroke. In general, the results based on the latter (which is the adopted option) are found to be satisfactory. In cases where they are not, we can always go back to a flattened definition.
Figure 8: A stroke is defined from a picture of a fish (drawn with skeletal strokes). The stroke is applied (a) on a curved path, (b) on a polyline path, (c) using the ribbon style.
Was this article helpful?