CLPR —
Format
Parameters
x1:
y1:
x2:
y2:
Function
CLiP Rectangular area
CLPR [x1, y1, x2, y2];
x coordinate of the top-left corner of the rectangle
y coordinate of the top-left corner of the rectangle
x coordinate of the bottom-right corner of the rectangle
y coordinate of the bottom-right corner of the rectangle
The CLPR command describes a rectangular path which intersects the inside of the texts,
current path, or raster graphics objects. The clipping rectangle does not clip those
graphics segments drawn in the standard mode graphics. Any painting operations outside
the specified rectangle is erased and those segments within it are painted on the page.
The coordinates are measured from the top and left edge limits in the units designated by
the UNIT command. If the parameters are omitted, the rectangle is equal to the size of
the current page size. If an attempt is made to position the top-left corner to the right of
the bottom-left corner [greater values for (x1, y1) than for (x2, y2)], the printing system
exchanges the coordinate values with each other.
The printing system resets the size of the rectangular clipping path to be equal to the
maximum printable area of the current page size when a PSRC, RES, SPO, or SPSZ (Set
Page SiZe) command is encountered.
CLPR
55