Next: , Previous: fill, Up: Drawing commands


4.3 clip

 
void clip(picture pic=currentpicture, path g, pen p=currentpen);

Clip the current contents of picture pic to the region bounded by the path g, using fillrule p (see fillrule). For an illustration of picture clipping, see the first example in LaTeX usage.