discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSGState DPSrectclip:


From: Banlu Kemiyatorn
Subject: Re: GSGState DPSrectclip:
Date: Fri, 26 Sep 2003 19:36:57 +0700
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030902 Thunderbird/0.2

Pete French wrote:

Why would it keep old path there rather destroy it?

because DPSrectclip is not supposed to alter the current path ?

From PostScript® language reference

rectclip x y width height rectclip –
numarray rectclip –
numstring rectclip –
intersects the area inside the current clipping path with a rectangular path defined by the operands to produce a new, smaller clipping path. In the first form, the operands
are four numbers that define a single rectangle. In the other two forms, the
operand is an array or an encoded number string that defines an arbitrary number
of rectangles (see Sections 3.14.5, “Encoded Number Strings,” and 4.6.5,
“Rectangles”). ***After computing the new clipping path, rectclip clears the current
path with an implicit newpath operation.***







reply via email to

[Prev in Thread] Current Thread [Next in Thread]