QCView
QCView
- Subject: QCView
- From: <email@hidden>
- Date: Tue, 26 Feb 2008 16:03:01 +0100
Hi,
I am building on 10.4 and I would like to get a preview of a Quartz
Composition. The API snapshotImage works only on Leopard. So I have tried
unsuccessfully to lockFocus drawRect and unlockFocus then save the
TIFFRepresentation, which results in an empty image.
The line pdfData = [oQCView dataWithPDFInsideRect:[oQCView bounds]];
returns a white image.
Any idea? Should I work with the QCRenderer?
Also, I have found pauseRendering and resumeRendering working on Leopard
only too. So how to perform this actions on Tiger? The API stopRendering
erases the QCView.
My target is (on Tiger): I have a text list of QC files with their icons. I
click on a row of the list and I see a static preview of the first frame of
the QC in a QCView. I double click and I play the QC. Other double click and
I pause the QC (still visible). May I have a pointer? Thanks.
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
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