[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix: NSView, view clipping
From: |
Georg Fleischmann |
Subject: |
Re: Fix: NSView, view clipping |
Date: |
Thu, 6 Sep 2001 15:06:09 +0200 |
> lockFocus. The problem with this is that user objects (such as gstates)
> are stored in local VM, and a restore invalidates anything in local VM.
Was rectviewclip designed for use in root views only ?
> The only other alternative is to go back to gsave/grestore.
I did a quick test and found one problem in using rectclip: DPSimage depends
on the viewclip for clipping.
Clipping an image against the clipping path in gstate could become quite
complicated. Just using the window bounds would result in problems with images
which should be clipped to a view.
Georg