Re: Getting bits from NSQuickDrawView
Re: Getting bits from NSQuickDrawView
- Subject: Re: Getting bits from NSQuickDrawView
- From: Dan Bernstein <cocoa-dev%email@hidden>
- Date: Sun, 9 Mar 2003 00:45:11 +0200
Hi Josh,
Since you haven't attached your code, I can't really be sure what the
problem is, but I suggest that you make sure that you're supplying
DecompressSeqeunceBegin with the correct grafport. IIRC, the port is
coming from [NSQucikDrawView qdport], and this should be called after
you have obtained drawing focus on your view (by calling lockFocus, not
forgetting to unlockFocus when you're done). If not everything has
finished initializing, then you'll find out that lockFocus fails, and
kindly logs an error message.
I hope this helps,
-- Dan
On Saturday, March 8, 2003, at 11:59 PM, 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?
Thanks,
Josh
--
//email@hidden || http://www.areax.net
[objectivec retain];
_______________________________________________
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.
_______________________________________________
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.