INCLAN Graphics: plot clip: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
|||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== Synopsis == | |||
'''plot clip''' ''x''<sub>1</sub> ''y''<sub>1</sub> ''x''<sub>2</sub> ''y''<sub>2</sub> | |||
draws a rectangle with | '''plot clip off''' | ||
path to its border. Subsequent drawing commands will only draw within | |||
this rectangular area. | == Description == | ||
to the rectangular area specified in a previous clip command. | |||
The '''plot clip''' command draws draws a rectangle with corners (''x''<sub>1</sub>,''y''<sub>1</sub>), (''x''<sub>1</sub>,''y''<sub>2</sub>), (''x''<sub>2</sub>,''y''<sub>1</sub>) and (''x''<sub>2</sub>,''y''<sub>2</sub>) sets the current clipping path to its border. Subsequent drawing commands will only draw within this rectangular area. | |||
The '''plot clip off''' command resets the clipping path. After this command, graphics will no longer be confined to the rectangular area specified in a previous '''plot clip''' command. |
Latest revision as of 14:02, 9 September 2009
Synopsis
plot clip x1 y1 x2 y2
plot clip off
Description
The plot 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 plot clip off command resets the clipping path. After this command, graphics will no longer be confined to the rectangular area specified in a previous plot clip command.