Skip navigation.
 
mlRe: QCView
FROM : Lorenzo
DATE : Tue Feb 26 21:44:34 2008

Thank you David,
I have already a QCRenderer class to create OpenGL Textures from a QC, but
in this case (a simple file browser) I have found the QCView useful enough.
I have got the snapshot using my OpenGL routines (using the OpenGL context
from the QCView) and it worked fine.
Thanks for replying.


Best Regards
--
Lorenzo
email: <email_removed>

> From: David Duncan <david.<email_removed>>
> Date: Tue, 26 Feb 2008 09:57:09 -0800
> To: <email_removed>
> Cc: <email_removed>
> Subject: Re: QCView
>
> On Feb 26, 2008, at 7:03 AM, <email_removed> wrote:
>

>> 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?

>
> QC renders via OpenGL, so yes you should try using the QCRenderer
> instead.
>

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

>
> You will probably have to resort to the QCRenderer for this as well.
>

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

>
>
> For specific details, you might want to consul the QuartzComposer-Dev
> list, as the QC engineers monitor that list more so than this one.
> --
> David Duncan
> Apple DTS Animation and Printing
> david.<email_removed>
>
>
>

Related mailsAuthorDate
mlQCView <archidea Feb 26, 16:03
mlRe: QCView David Duncan Feb 26, 18:57
mlRe: QCView Lorenzo Feb 26, 21:44