Functional PostScript Tutorial
Clipping is way to to make new pictures by 'cropping' an existing picture with a path.
(clip (rect (pt 75 25) 100 150) triangle-picture)We now have a picture of slightly over half of a triangle.
Clipped pictures are especially interesting when you clip with glyphpaths. See the clip-msg program in fps-examples.scm for an example.
Related procedures in this section:
clip
FPS Tutorial Content: Intro and The Idea | Getting Started | Paths and Pictures | Show and Channels | Transformation | Composition | Glyphpaths | Style | Color | Colormap | Clipping | Glyphnames | Other Topics