• 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: ScreenSaverView/NSQuickDrawView/Opaque issue [update]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ScreenSaverView/NSQuickDrawView/Opaque issue [update]


  • Subject: Re: ScreenSaverView/NSQuickDrawView/Opaque issue [update]
  • From: "Andy O'Meara" <email@hidden>
  • Date: Fri, 03 Jun 2005 09:40:20 -0400



On 6/3/05 9:29 AM, "glenn andreas" <email@hidden> wrote:

>
> On Jun 3, 2005, at 8:17 AM, Andy O'Meara wrote:
>> So that folks like me may benefit, I wanted to share my root
>> issues/mysteries (and this doesn't just apply to screen savers--if
>> you use
>> NSQuickDrawView, this is also for you).  I apologize in advance if
>> some of
>> there are novice Cocoa comments/mysteries...   If anyone can shed
>> some light
>> on the following issues, I'd be very grateful.
>
> Quickdraw (and by extension, NSQuickDrawView) has absolutely no
> concept of alpha/transparency in bitmaps.  While it can store an
> extra byte that would, in theory, be usable for an alpha channel,
> it's value is often overwritten with even simple quickdraw
> operations.  The end result is that transparent views/windows do not
> support quickdraw (this is even true under a purely Carbon approach -
> you need to use CoreGraphics if you want anything other than a solid
> rectangle (though some things do support clipping regions, but that
> doesn't solve the problem)).
>
>

Yes, that's why it's humorous (and frustrating) that changing my
NSQuickDrawView's isOpaque to return YES results in its drawRect() never
getting called.

Andy


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ScreenSaverView/NSQuickDrawView/Opaque issue [update]
      • From: glenn andreas <email@hidden>
References: 
 >Re: ScreenSaverView/NSQuickDrawView/Opaque issue [update] (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: Programmatically determining number of arguments a selector takes
  • Next by Date: Re: completePathIntoString doesn't work with unicode paths??
  • Previous by thread: Re: ScreenSaverView/NSQuickDrawView/Opaque issue [update]
  • Next by thread: Re: ScreenSaverView/NSQuickDrawView/Opaque issue [update]
  • Index(es):
    • Date
    • Thread