Re: Screen Fade Out
Re: Screen Fade Out
- Subject: Re: Screen Fade Out
- From: Eric Schlegel <email@hidden>
- Date: Thu, 3 Jan 2002 07:32:34 -0800
On Wednesday, January 2, 2002, at 10:15 PM, Owen Andertson wrote:
Hi, I'm a bit new to Cocoa. I'm working on a fullscreen application,
and can successfully capture the screen and draw to it. However, it
would look much better if it were to fade to black instead of just
going solid immediately. I have experimented with various loops
involving NSColors, but none have worked. Does anyone know of a
satisfactory method of doing this?
The Carbon DrawSprocket API includes the ability to fade out the screen
gradually. That's probably your best bet. There may also be some
functions in CoreGraphics for doing this.
-eric