Plot clip: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= plot_clip =
     
Usage: clip ''x1'' ''y1'' ''x2'' ''y2''
Usage: clip ''x1'' ''y1'' ''x2'' ''y2''
       clip off
       clip off

Latest revision as of 19:18, 28 January 2009

plot_clip

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.