PlotIconRef() into NSImage??
PlotIconRef() into NSImage??
- Subject: PlotIconRef() into NSImage??
- From: email@hidden
- Date: Thu, 18 Jul 2002 12:40:04 -0700
Hi,
I'm trying to get a volume icon into an NSImage. I tried doing a
PlotIconRef() into a new PICT created from OpenCPicture(), closing the
PICT, creating an NSPICTImageRep and then drawing that into an NSImage.
However, doing this produces jagged, thick black edges around the icons
where the alpha mask is not getting drawn correctly. So I thought I
could instead PlotIconRef() into a new GWorld, then put the GWorld's
pixmap into an NSBitmapImageRep... but this only leads to garbage in the
NSImage. Does anyone have any suggestions?
Thanks in advance,
Tristan
_______________________________________________
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.