• 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 over a transparent background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing over a transparent background


  • Subject: Re: Drawing over a transparent background
  • From: Dave Keck <email@hidden>
  • Date: Tue, 1 Sep 2009 00:36:32 -1000

I believe you need to tell the window to invalidate its shadow. The end of
ClockView's drawRect: is a bad place to do it, but as a proof of concept:

- (void)drawRect: (NSRect)rect
{

    ... lots of drawing code ...

    [[self window] invalidateShadow];

}
_______________________________________________

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

  • Follow-Ups:
    • Re: Drawing over a transparent background
      • From: Ron Fleckner <email@hidden>
References: 
 >Re: Drawing over a transparent background (From: Ron Fleckner <email@hidden>)

  • Prev by Date: Re: [iPhone 3.0] Flipping view doesn't play nice with Navigation and Tab bars.
  • Next by Date: Re: How To Unbind
  • Previous by thread: Re: Drawing over a transparent background
  • Next by thread: Re: Drawing over a transparent background
  • Index(es):
    • Date
    • Thread