[Top][All Lists]

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

Re: Backend functions

From: Adam Fedor
Subject: Re: Backend functions
Date: Sun, 22 Apr 2001 20:21:41 -0600

Fred Kiefer wrote:
> BTW: Can anybody explain to my, why we need the second DPSgsave() call
> in the [NSView lockFocusInRect:] method? Some comments in the code here
> would help.

The second gsave protects the currently installed graphics context from
being modified by the user (or the AppKit, for that matter) in any
subsequent drawing. In essence, it 'installs' the gstate specific to the
lockFocused view.

reply via email to

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