• 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
NSBitmapImageRep drawn without Alpha
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBitmapImageRep drawn without Alpha


  • Subject: NSBitmapImageRep drawn without Alpha
  • From: Manfred Lippert <email@hidden>
  • Date: Thu, 07 Feb 2002 15:39:20 +0100

Hi,

I have an NSBitmapImageRep and want to draw it in an NSView.
The NSBitmapImageRep _has_ an Alpha cannel (hasAlpha returns YES) and there
are the right transparency values in this Alpha channel.
But when I draw the bitmap with
[myBitmapImageRep draw];
into an NSView then it is drawn entirely opaque! The values in the RGB
channels are drawn correctly but the Alpha channel is completely ignored by
the draw method.
Is this a bug?
How can I draw am RGBA bitmap correctly (_with_ transparency)??

(You might also look at my other Email "Still Offscreen Drawing Problem": I
am looking for a way to draw into such an NSBitmapImageRep, but I cannot
figure out how this can be done. But this is another problem.)

Regards,
Mani
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: newbie widgets/NSTimer question
  • Next by Date: Re: Multi-doc App
  • Previous by thread: Re: newbie widgets/NSTimer question
  • Next by thread: Mixing Carbon & Cocoa?
  • Index(es):
    • Date
    • Thread