• 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: Difficult NSShadow problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difficult NSShadow problem


  • Subject: Re: Difficult NSShadow problem
  • From: arri <email@hidden>
  • Date: Mon, 16 Jul 2007 09:38:00 +0200

anything you draw in a view is limited by the views' bounds,
wanting to draw outside those bounds seems a bit odd... (2me)

just make sure your drawing (including shadows) happen inside those bounds, and your problem is solved.

you could use NSInsetRect() to limit you're drawing region, while leaving space for funky shadows :)

.a

On Jul 15, 2007, at 6:33 PM, Ken Tozier wrote:

Anyone have any ideas how fix this?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Difficult NSShadow problem (From: Ken Tozier <email@hidden>)
 >Re: Difficult NSShadow problem (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: NSApplicationMain options
  • Next by Date: Re: UTF-8 string encoding bug in stringWithContentsOfURL?
  • Previous by thread: Re: Difficult NSShadow problem
  • Next by thread: Window with frameAutosaveName moving
  • Index(es):
    • Date
    • Thread