Re: Fix: NSView, view clipping

2001-09-06 Thread Adam Fedor
Georg Fleischmann wrote: >>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 ? > I think it's really designed for executing things like e

Re: Fix: NSView, view clipping

2001-09-06 Thread Georg Fleischmann
> 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

Re: Fix: NSView, view clipping

2001-09-05 Thread Adam Fedor
Well now I'm reconsidering the change to use save/restore in NSView's 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. This in fact screws up the xdps backend (not the xgps backend because xgps is on

Re: Fix: NSView, view clipping

2001-09-02 Thread Adam Fedor
Georg Fleischmann wrote: > Hi, > > here are a bunch of patches related to a small problem with the view clipping > in NSView. > The fix promises to solve the following problems: > - sporadically blank areas in panels, especially inside of a Matrix > - problems with drawing when NSTextViews are

Re: Fix: NSView, view clipping

2001-09-01 Thread Georg Fleischmann
Hi Fred, > I am having the same drawing problems, where sometimes parts of a window > is missing (e.g. in the Box test of GSTest). Adam already mailed me, and he is checking the options to solve the problem. > I had a look at your clipping code and did not quite > understand it. Your code seem

Re: Fix: NSView, view clipping

2001-09-01 Thread Fred Kiefer
Hi Georg, I am having the same drawing problems, where sometimes parts of a window is missing (e.g. in the Box test of GSTest). So any solution to this would be fine. I had a look at your clipping code and did not quite understand it. Your code seems to add another stack to the graphics context,

Fix: NSView, view clipping

2001-08-30 Thread Georg Fleischmann
Hi, here are a bunch of patches related to a small problem with the view clipping in NSView. The fix promises to solve the following problems: - sporadically blank areas in panels, especially inside of a Matrix - problems with drawing when NSTextViews are mixed with PS-Operators Every lockFocu