NSBitmapImageRep drawn without Alpha
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.