Re: Drawing shadow
Re: Drawing shadow
- Subject: Re: Drawing shadow
- From: Andrew Platzer <email@hidden>
- Date: Tue, 12 Jun 2001 15:18:08 -0700
On Tuesday, June 12, 2001, at 10:03 , Youngjin Kim wrote:
I'd like to draw gradient shadow around card in my card game. While it
is possible by applying an pre-saved, alpha-transparent image or
hard-coding it, I'd like to know what's the other option supported by
built-in capability of OS-X. There should be some built-in drawing
functions which will ease this kind of thing because OS-X' finder heavily
use it in drawing edge of windows.
There is no built-in drawing code for shadows. The window shadows are
added by the window server when copying the window to the screen and aren'
t available as part of any API.
Andrew
__________________________________________________________________
A n d r e w P l a t z e r
A p p l i c a t i o n F r a m e w o r k s
A p p l e