• 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
How to draw a CGImage object to a NSView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to draw a CGImage object to a NSView?


  • Subject: How to draw a CGImage object to a NSView?
  • From: Leopard x86 <email@hidden>
  • Date: Wed, 20 Feb 2008 22:21:31 +0000

Hi everyone.
After reading the Quartz Graphics programming document, I am still trying to find a method to draw a CGImageRef object "directly" to a NSView / NSOpenGLView ...


My application decodes some files on the disk to into CGDataProvider, then uses the CGDataProviders to create CGImageRefs. I think it will cost too much performance to convert the CGImage objects to other formats, e.g. NSImage, CIImage. So I am wondering a direct way to draw CGImage to a NSView or NSOpenGLView.

Can anyone give me a suggestion? Thank you very much in advanced.
Good Luck.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to draw a CGImage object to a NSView?
      • From: "Ken Ferry" <email@hidden>
    • Re: How to draw a CGImage object to a NSView?
      • From: David Duncan <email@hidden>
    • Re: How to draw a CGImage object to a NSView?
      • From: Mike Abdullah <email@hidden>
    • Re: How to draw a CGImage object to a NSView?
      • From: glenn andreas <email@hidden>
    • Re: How to draw a CGImage object to a NSView?
      • From: j o a r <email@hidden>
  • Prev by Date: Re: synchronize the content of two arrays with binding
  • Next by Date: Re: TableView & KeyDown
  • Previous by thread: Re: synchronize the content of two arrays with binding
  • Next by thread: Re: How to draw a CGImage object to a NSView?
  • Index(es):
    • Date
    • Thread