Plot clip

From CYANA Wiki
Revision as of 16:37, 28 January 2009 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage: clip x1 y1 x2 y2

      clip off

draws a rectangle with the given corners and sets the current clipping path to its border. Subsequent drawing commands will only draw within this rectangular area. In the form "clip off", the command resets the clipping path. After this command, graphics will no longer be confined to the rectangular area specified in a previous clip command.