Path Mode Graphics
2-17
There are no restrictions on the shape of a path. A single path may include multiple
closed subpaths, representing several areas, and a path may intersect itself in an arbitrary
manner.
The order of the segments that define a path is significant. A pair of line segments is said
to connect only if they are defined consecutively, with the second segment starting where
the first one ends. Non-consecutive segments that meet or intersect fortuitously are not
connected.
A subpath is a sequence of connected segments. A path is made up of one or more sub-
paths. Subpaths may be either open or closed.
Path construction begins with a NEWP (NEW Path) command. Path construction ends
with the CLSP (CLoSe Path) command or with any paint operator that paints the region
enclosed by the path or draws a line along it (such as STRoKe or FILL).