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 dataW
Forget, I have found it.
NSOpenGLContext*ctx = [oQCView openGLContext];
Then I render into a NSBitmapImageRep. Cool!
Best Regards
--
Lorenzo
email: [EMAIL PROTECTED]
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post