• 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
PlotIconRef() into NSImage??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: PlotIconRef() into NSImage??
      • From: Esteban <email@hidden>
  • Prev by Date: Re: Using CVS
  • Next by Date: Some MVC questions
  • Previous by thread: Re: Very strange problem
  • Next by thread: Re: PlotIconRef() into NSImage??
  • Index(es):
    • Date
    • Thread