- (with-clip PAGE (CLIP-FORM ...) BODY ...)syntax
- (with-clip PAGE even-odd (CLIP-FORM ...) BODY ...)syntax
Restricts drawing in BODY to the region enclosed by the path built by CLIP-FORM ... (a sequence of path construction operators, such as basic-rect or move-to/line-to). The region is determined by the nonzero-winding rule, or by the even-odd rule if the literal symbol even-odd is given as the second argument. Since with-clip is built on with-graphics-state, the clip region -- and any other state BODY changes -- is undone once BODY finishes.