• 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
Re: Getting bits from NSQuickDrawView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting bits from NSQuickDrawView


  • Subject: Re: Getting bits from NSQuickDrawView
  • From: email@hidden (Simon Fraser)
  • Date: Tue, 11 Mar 2003 12:09:11 -0800

Josh Anon wrote:
Hi all,
I'm trying to modify the SGDataProc Cocoa example (which uses QT's SequenceGrabber to decompress video into a view, sadly it's an NSQuickDrawView). I need to somehow get the bits out of the view so that I can do some image processing voodoo on it. Unfortunately, if I try to make the view off screen, I just get random images floating in the upper-left of my screen. For the more experienced who've worked with QuickDraw, any suggestion?

I think the best approach here might be to get the sequence
grabber stuff to decompress data into a GWorld, and then get
the pixels from that GWorld. If you want, you can easily
CopyBits that GWorld into an NSQuickDrawView. It saves
messing with the bits of the NSQuickDrawView's port, which
could get messy.

Simon
_______________________________________________
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.

References: 
 >Getting bits from NSQuickDrawView (From: Josh Anon <email@hidden>)

  • Prev by Date: RE: Threads and messages
  • Next by Date: Re: Toolbar hide/show button
  • Previous by thread: Re: Getting bits from NSQuickDrawView
  • Next by thread: NSTableView selection probs
  • Index(es):
    • Date
    • Thread