INCLAN Graphics: plot clip

From CYANA Wiki
Revision as of 14:25, 13 August 2009 by Admin (talk | contribs)
Jump to navigation Jump to search

Synopsis

clip x1 y1 x2 y2

or

clip off

Description

The clip command draws draws a rectangle with corners (x1,y1), (x1,y2), (x2,y1) and (x2,y2) sets the current clipping path to its border. Subsequent drawing commands will only draw within this rectangular area.

The clip off command resets the clipping path. After this command, graphics will no longer be confined to the rectangular area specified in a previous clip command.