• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drawing shadow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Drawing shadow (From: Youngjin Kim <email@hidden>)

  • Prev by Date: Re: Cocoa/EOF for non-enterprise apps Re: proof of cocoa superiority?
  • Next by Date: Re: Obtaining List of Running Applications and their Windows
  • Previous by thread: Drawing shadow
  • Next by thread: Re: Drawing shadow
  • Index(es):
    • Date
    • Thread